summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;