diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-26 05:03:02 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-26 05:03:02 +0000 |
commit | 6c9c2062d7fe284e16e1c89088f9567d8b7f481b (patch) | |
tree | 3a3223668716994394be672b73a60a7519f570f5 /perl-install/install_steps.pm | |
parent | 99b2950f6c4feb35f8b53417f02e1dc1135bb2e4 (diff) | |
download | drakx-6c9c2062d7fe284e16e1c89088f9567d8b7f481b.tar drakx-6c9c2062d7fe284e16e1c89088f9567d8b7f481b.tar.gz drakx-6c9c2062d7fe284e16e1c89088f9567d8b7f481b.tar.bz2 drakx-6c9c2062d7fe284e16e1c89088f9567d8b7f481b.tar.xz drakx-6c9c2062d7fe284e16e1c89088f9567d8b7f481b.zip |
(doPartitionDisksBefore) umount /sys and /proc/bus/usb in chroot
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index c5b32fd7c..e6a24516a 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -177,6 +177,8 @@ sub selectInstallClass { sub doPartitionDisksBefore { my ($o) = @_; eval { + eval { fs::umount("$o->{prefix}/sys") }; + eval { fs::umount("$o->{prefix}/proc/bus/usb") }; eval { fs::umount("$o->{prefix}/proc") }; eval { fs::umount_all($o->{fstab}, $o->{prefix}) }; eval { sleep 1; fs::umount_all($o->{fstab}, $o->{prefix}) } if $@; #- HACK |