diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-10 07:58:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-10 07:58:25 +0000 |
commit | ee1a64bdbd11691d9ab112557f61bd9de0e3f97a (patch) | |
tree | 66a72c0c59564c57b3b5c2e9732ea3c5caa69243 /perl-install/install2.pm | |
parent | 3799c3388d4ed5524da4c9907b28c9797b62d110 (diff) | |
download | drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar.gz drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar.bz2 drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar.xz drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.zip |
mount /proc, /sys and /proc/usb/usb in $prefix ASAP instead of doing it at various places
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r-- | perl-install/install2.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 2d6be8961..4463aaff2 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -186,6 +186,10 @@ sub formatPartitions { devices::make("$o->{prefix}/dev/null"); chmod 0666, "$o->{prefix}/dev/null"; + eval { fs::mount('none', "$o->{prefix}/proc", 'proc') }; + eval { fs::mount('none', "$o->{prefix}/proc/bus/usb", 'usbdevfs') }; + eval { fs::mount('none', "$o->{prefix}/sys", 'sysfs') }; + common::screenshot_dir__and_move(); any::rotate_logs($o->{prefix}); |