From 8b606ca75db47a948c183893889b2803217062d3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 15 Sep 2005 11:21:55 +0000 Subject: - we do want doPartitionDisks and formatPartitions to be done early on upgrade, so that selectKeyboard is done when the partitions are mounted - call set_all_default() (to fix fstab on upgrade) before install packages so that {useSupermount} is correctly set (maybe we could also move the set_all_default on install there) --- perl-install/install_steps.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 1a9f8aa70..f47cc8c8a 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -197,7 +197,7 @@ sub doPartitionDisksAfter { fs::set_removable_mntpoints($o->{all_hds}); fs::mount_options::set_all_default($o->{all_hds}, %$o, lang::fs_options($o->{locale})) - if !$o->{isUpgrade} || $o->{isUpgrade} =~ /redhat|conectiva/; + if !$o->{isUpgrade}; $o->{fstab} = [ fs::get::fstab($o->{all_hds}) ]; @@ -397,6 +397,12 @@ sub beforeInstallPackages { upgrading_redhat(); } + if ($o->{isUpgrade} =~ /redhat|conectiva/) { + #- to ensure supermount is removed for cds + fs::mount_options::set_all_default($o->{all_hds}, %$o, lang::fs_options($o->{locale})); + } + + #- some packages need such files for proper installation. install_any::write_fstab($o); -- cgit v1.2.1