summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-10-19 13:00:45 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-10-19 13:00:45 +0000
commit52adb090c72578117e19632a3d847290cc3549dd (patch)
tree83f56f960b373bc61dbf74eab57b261e86071241 /perl-install
parent2df9667aa6108df2855b2e1c25c6f70f1ab32003 (diff)
downloaddrakx-backup-do-not-use-52adb090c72578117e19632a3d847290cc3549dd.tar
drakx-backup-do-not-use-52adb090c72578117e19632a3d847290cc3549dd.tar.gz
drakx-backup-do-not-use-52adb090c72578117e19632a3d847290cc3549dd.tar.bz2
drakx-backup-do-not-use-52adb090c72578117e19632a3d847290cc3549dd.tar.xz
drakx-backup-do-not-use-52adb090c72578117e19632a3d847290cc3549dd.zip
avoid error messages when using lvm in draklive-install (#36415)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/lvm.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 2723f05d7..30d2ca64f 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,6 @@
- fix raid initialisation during install (#54706)
- fix raid detection during install (#54706)
+- avoid error messages when using lvm in draklive-install (#36415)
Version 12.67 - 18 October 2009
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm
index 8f77ce06f..3205fa2fd 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -60,7 +60,7 @@ sub lvm_cmd_or_die {
sub check {
my ($do_pkgs) = @_;
-
+ local $::prefix = ''; # We want lvm2 on current system
$do_pkgs->ensure_binary_is_installed('lvm2', 'lvm2') or return;
init();
1;