summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install2.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 4eb45b7f9..e15b03a08 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -203,6 +203,11 @@ sub formatPartitions {
require raid;
raid::prepare_prefixed($o->{all_hds}{raids}, $o->{prefix});
+
+ #- needed by lilo
+ if (my @vgs = map { $_->{VG_name} } @{$o->{all_hds}{lvms}}) {
+ cp_af("/dev/$_", "$::prefix/dev") foreach 'mapper', @vgs;
+ }
}
#------------------------------------------------------------------------------