summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-16 16:22:35 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-16 16:22:35 +0000
commit14f8743a2cac855531d9c6dadfdba1d66b59392d (patch)
tree26e037b3095a2fedbb41b1856fa05b8f662f05a7 /perl-install/install_steps.pm
parent53ddea9127eb4b14f1af063742cef89ab718c7f3 (diff)
downloaddrakx-14f8743a2cac855531d9c6dadfdba1d66b59392d.tar
drakx-14f8743a2cac855531d9c6dadfdba1d66b59392d.tar.gz
drakx-14f8743a2cac855531d9c6dadfdba1d66b59392d.tar.bz2
drakx-14f8743a2cac855531d9c6dadfdba1d66b59392d.tar.xz
drakx-14f8743a2cac855531d9c6dadfdba1d66b59392d.zip
make sure / and /usr are formatted in recovery mode.
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index e5c42fe73..103059cd7 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -221,7 +221,7 @@ sub doPartitionDisks {
#------------------------------------------------------------------------------
-sub ask_mntpoint_s {
+sub ask_mntpoint_s {#-}}}
my ($_o, $fstab) = @_;
#- TODO: set the mntpoints
@@ -256,6 +256,7 @@ sub choosePartitionsToFormat($$) {
add2hash_($_, { toFormat => $_->{notFormatted} });
$_->{toFormatUnsure} = member($_->{mntpoint}, '/', '/usr');
+ $_->{toFormat} ||= $::recovery && delete $_->{toFormatUnsure};
if (!$_->{toFormat}) {
my $t = fsedit::typeOfPart($_->{device});