summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-22 14:56:13 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-22 14:56:13 +0000
commit1cfcd55df7d19bc82794a4ce3c5686748cbc0440 (patch)
treed587ab32d69e59f1a28033739e866ecb1bf789a1
parentecc684a0eb131b59f5afd6f67c63cdeec8b015bd (diff)
downloaddrakx-1cfcd55df7d19bc82794a4ce3c5686748cbc0440.tar
drakx-1cfcd55df7d19bc82794a4ce3c5686748cbc0440.tar.gz
drakx-1cfcd55df7d19bc82794a4ce3c5686748cbc0440.tar.bz2
drakx-1cfcd55df7d19bc82794a4ce3c5686748cbc0440.tar.xz
drakx-1cfcd55df7d19bc82794a4ce3c5686748cbc0440.zip
avoid mounting partitions in recovery mode.
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 161147c08..58a33b68d 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -199,7 +199,7 @@ sub doPartitionDisksAfter {
die \N("You must have a FAT partition mounted in /boot/efi");
}
- if ($o->{partitioning}{use_existing_root}) {
+ if ($o->{partitioning}{use_existing_root} && !$::recovery) {
#- ensure those partitions are mounted so that they are not proposed in choosePartitionsToFormat
fs::mount_part($_, $o->{prefix}) foreach sort { $a->{mntpoint} cmp $b->{mntpoint} }
grep { $_->{mntpoint} && maybeFormatted($_) } @{$o->{fstab}};