From b33fc1ae460ebdeba76a5fe663c6d7ee3de067a8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 6 Mar 2002 13:22:53 +0000 Subject: ensure the fstab is kept on upgrade --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_steps.pm') 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}); -- cgit v1.2.1