summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-26 05:03:02 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-26 05:03:02 +0000
commit6c9c2062d7fe284e16e1c89088f9567d8b7f481b (patch)
tree3a3223668716994394be672b73a60a7519f570f5 /perl-install/install_steps.pm
parent99b2950f6c4feb35f8b53417f02e1dc1135bb2e4 (diff)
downloaddrakx-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.pm2
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