summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:25:56 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:25:56 +0000
commitc13ce4d2780b0d632883e808056e23be7142c6f1 (patch)
treee52cc9f4a4ae7973d2671002c5f56ae468e6da95
parent7425793af23d41f57602cdc392bf03e531fe6ed8 (diff)
downloaddrakx-c13ce4d2780b0d632883e808056e23be7142c6f1.tar
drakx-c13ce4d2780b0d632883e808056e23be7142c6f1.tar.gz
drakx-c13ce4d2780b0d632883e808056e23be7142c6f1.tar.bz2
drakx-c13ce4d2780b0d632883e808056e23be7142c6f1.tar.xz
drakx-c13ce4d2780b0d632883e808056e23be7142c6f1.zip
do not reinvent lvm::init() and thus share future improvements
-rwxr-xr-xrescue/guessmounts6
1 files changed, 4 insertions, 2 deletions
diff --git a/rescue/guessmounts b/rescue/guessmounts
index 0d1d9f50f..f94dc09ea 100755
--- a/rescue/guessmounts
+++ b/rescue/guessmounts
@@ -37,8 +37,10 @@ print STDERR "\nPlease wait, trying to find your root device...\n";
mkdir_p($target);
-devices::init_device_mapper();
-lvm::detect_during_install();
+{
+ local $::isInstall = 1; # so that detect_during_install() got called by init:
+ lvm::init();
+}
fs::dmcrypt::init;
my @parts = map {