summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-20 06:38:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-20 06:38:06 +0000
commit5c8010ccef4dcc91d572ee09e5ce1c7cbf575581 (patch)
tree79155bc13a056fee32077819a34692198b6b4984 /perl-install/install2.pm
parenta00c3995a27103b97534c3957dff9441874fd9ce (diff)
downloaddrakx-5c8010ccef4dcc91d572ee09e5ce1c7cbf575581.tar
drakx-5c8010ccef4dcc91d572ee09e5ce1c7cbf575581.tar.gz
drakx-5c8010ccef4dcc91d572ee09e5ce1c7cbf575581.tar.bz2
drakx-5c8010ccef4dcc91d572ee09e5ce1c7cbf575581.tar.xz
drakx-5c8010ccef4dcc91d572ee09e5ce1c7cbf575581.zip
initial dmraid support
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index aaca3a6dd..3b9d1ef5f 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -210,7 +210,8 @@ sub formatPartitions {
raid::prepare_prefixed($o->{all_hds}{raids});
#- needed by lilo
- if (my @vgs = map { $_->{VG_name} } @{$o->{all_hds}{lvms}}) {
+ if (-d '/dev/mapper') {
+ my @vgs = map { $_->{VG_name} } @{$o->{all_hds}{lvms}};
cp_af("/dev/$_", "$::prefix/dev") foreach 'mapper', @vgs;
}
}