From c13ce4d2780b0d632883e808056e23be7142c6f1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 23 May 2012 18:25:56 +0000 Subject: do not reinvent lvm::init() and thus share future improvements --- rescue/guessmounts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rescue') 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 { -- cgit v1.2.1