summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-16 10:58:15 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-16 10:58:15 +0000
commit8480c37c1c52378c93cb1a5be52fb8d4c5d8a4de (patch)
treec2a05483719fb7a95944baf8467fe938550f30cb /perl-install
parent35b788a61e2e63a20666d236609b3f01813b91fc (diff)
downloaddrakx-backup-do-not-use-8480c37c1c52378c93cb1a5be52fb8d4c5d8a4de.tar
drakx-backup-do-not-use-8480c37c1c52378c93cb1a5be52fb8d4c5d8a4de.tar.gz
drakx-backup-do-not-use-8480c37c1c52378c93cb1a5be52fb8d4c5d8a4de.tar.bz2
drakx-backup-do-not-use-8480c37c1c52378c93cb1a5be52fb8d4c5d8a4de.tar.xz
drakx-backup-do-not-use-8480c37c1c52378c93cb1a5be52fb8d4c5d8a4de.zip
added automatic steps in recovery mode.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install2.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 310908689..522158455 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -569,6 +569,10 @@ sub main {
$o->{compssListLevel} = 4;
push @auto, 'selectInstallClass', 'doPartitionDisks', 'choosePackages', 'configureTimezone', 'exitInstall';
}
+ if ($::recovery) {
+ $o->{partitioning}{use_existing_root} = 1;
+ push @auto, 'selectLanguage', 'selectInstallClass', 'doPartitionDisks', 'formatPartitions';
+ }
foreach (@auto) {
my $s = $o->{steps}{/::(.*)/ ? $1 : $_} or next;