summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-11-08 10:19:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-11-08 10:19:51 +0000
commitb8d2f3d3caea2f17c19bc5ba4552ccb08835cc6a (patch)
tree6b6374dcee93f824368a61bb8a5e93da2ad0b26b /perl-install/fsedit.pm
parentac3b0497c8dd2f56b82fc735448b7b64915167a2 (diff)
downloaddrakx-b8d2f3d3caea2f17c19bc5ba4552ccb08835cc6a.tar
drakx-b8d2f3d3caea2f17c19bc5ba4552ccb08835cc6a.tar.gz
drakx-b8d2f3d3caea2f17c19bc5ba4552ccb08835cc6a.tar.bz2
drakx-b8d2f3d3caea2f17c19bc5ba4552ccb08835cc6a.tar.xz
drakx-b8d2f3d3caea2f17c19bc5ba4552ccb08835cc6a.zip
do not call dmraid init() by default, call it explictly (it helps patching dmraid)
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index b922bdd6d..90f277791 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -105,7 +105,8 @@ sub handle_dmraid {
devices::make($_->{device}) foreach @$drives;
- eval { require fs::dmraid; 1 } or return;
+ require fs::dmraid;
+ fs::dmraid::init() or log::l("dmraid::init failed"), return;
my @vgs = fs::dmraid::vgs();
log::l(sprintf('dmraid: ' . join(' ', map { "$_->{device} [" . join(' ', @{$_->{disks}}) . "]" } @vgs)));