summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-08-24 15:57:23 +0000
committerFrancois Pons <fpons@mandriva.com>2000-08-24 15:57:23 +0000
commit328ce33d9b48588abd507591d403ffcdf9612a93 (patch)
tree376572183d1ad3ac56718f5a21b08d721c7486f4 /perl-install/install_steps.pm
parentae6724e80a75c2e253daa9ded045c756f399e860 (diff)
downloaddrakx-backup-do-not-use-328ce33d9b48588abd507591d403ffcdf9612a93.tar
drakx-backup-do-not-use-328ce33d9b48588abd507591d403ffcdf9612a93.tar.gz
drakx-backup-do-not-use-328ce33d9b48588abd507591d403ffcdf9612a93.tar.bz2
drakx-backup-do-not-use-328ce33d9b48588abd507591d403ffcdf9612a93.tar.xz
drakx-backup-do-not-use-328ce33d9b48588abd507591d403ffcdf9612a93.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index cb2211abf..75a5b0dda 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -133,7 +133,7 @@ sub doPartitionDisksBefore {
install_any::getFile("XXX"); #- close still opened filehandle
eval { fs::umount("/tmp/hdimage") };
}
- eval { fs::umount_all($o->{fstab}, $o->{prefix}) } if $o->{fstab} && !$::testing;
+ eval { fs::umount_all($o->{fstab}, $o->{prefix}) } if $o->{fstab} && !$::testing && !$::live;
$o->{raid} ||= {};
}
@@ -281,7 +281,7 @@ sub beforeInstallPackages {
#- some packages need such files for proper installation.
any::writeandclean_ldsoconf($o->{prefix});
- fs::write($o->{prefix}, $o->{fstab}, $o->{manualFstab}, $o->{useSupermount});
+ $::live or fs::write($o->{prefix}, $o->{fstab}, $o->{manualFstab}, $o->{useSupermount});
network::add2hosts("$o->{prefix}/etc/hosts", "localhost.localdomain", "127.0.0.1");