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/install2.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/install2.pm') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 599e7ffb7..220114975 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -140,6 +140,10 @@ sub selectInstallClass { installStepsCall($o, $auto, 'selectInstallClass'); if ($o->{isUpgrade}) { + @{$o->{orderedSteps}} = uniq(map { + $_ eq 'selectInstallClass' ? ($_, 'doPartitionDisks', 'formatPartitions') : $_; + } @{$o->{orderedSteps}}); + $o->{modules_conf}->merge_into(modules::any_conf->read); } } -- cgit v1.2.1