diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:25:56 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:25:56 +0000 |
commit | 827eee94ebac54eebfd6f92d60eb8ef313a474e4 (patch) | |
tree | e52cc9f4a4ae7973d2671002c5f56ae468e6da95 /rescue | |
parent | e5ae646c124de396d01bf0f051bfdb66b2baed30 (diff) | |
download | drakx-backup-do-not-use-827eee94ebac54eebfd6f92d60eb8ef313a474e4.tar drakx-backup-do-not-use-827eee94ebac54eebfd6f92d60eb8ef313a474e4.tar.gz drakx-backup-do-not-use-827eee94ebac54eebfd6f92d60eb8ef313a474e4.tar.bz2 drakx-backup-do-not-use-827eee94ebac54eebfd6f92d60eb8ef313a474e4.tar.xz drakx-backup-do-not-use-827eee94ebac54eebfd6f92d60eb8ef313a474e4.zip |
do not reinvent lvm::init() and thus share future improvements
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/guessmounts | 6 |
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 { |