summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-03-06 13:22:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-03-06 13:22:53 +0000
commitb33fc1ae460ebdeba76a5fe663c6d7ee3de067a8 (patch)
tree9e774cb9bdebe7372807871143223ef3517703b6 /perl-install/install_steps.pm
parent62467339503b9b07050b7626374ff04f851c0d1b (diff)
downloaddrakx-b33fc1ae460ebdeba76a5fe663c6d7ee3de067a8.tar
drakx-b33fc1ae460ebdeba76a5fe663c6d7ee3de067a8.tar.gz
drakx-b33fc1ae460ebdeba76a5fe663c6d7ee3de067a8.tar.bz2
drakx-b33fc1ae460ebdeba76a5fe663c6d7ee3de067a8.tar.xz
drakx-b33fc1ae460ebdeba76a5fe663c6d7ee3de067a8.zip
ensure the fstab is kept on upgrade
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index e132b8f8c..65e16215f 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -183,7 +183,7 @@ sub doPartitionDisks {
if ($o->{partitioning}{use_existing_root} || $o->{isUpgrade}) {
# either one root is defined (and all is ok), or we take the first one we find
my $p = fsedit::get_root_($o->{fstab}) || first(install_any::find_root_parts($o->{fstab}, $o->{prefix})) or die;
- install_any::use_root_part($o->{fstab}, $p, $o->{prefix});
+ install_any::use_root_part($o->{all_hds}, $p, $o->{prefix});
}
if ($o->{partitioning}{auto_allocate}) {
fsedit::auto_allocate($o->{all_hds}, $o->{partitions});