From 6c2032d8f18ae324f6795d30eac8bedda7ce4cdf Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 11 Mar 2004 14:26:43 +0000 Subject: tentatively fix lilo with lvm on / --- perl-install/install2.pm | 5 +++++ 1 file changed, 5 insertions(+) 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; + } } #------------------------------------------------------------------------------ -- cgit v1.2.1