summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-03-11 14:26:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-03-11 14:26:43 +0000
commit6c2032d8f18ae324f6795d30eac8bedda7ce4cdf (patch)
tree37328ccdf41b60ac637ed3f03e3056a84ca3c387 /perl-install/install2.pm
parentadf4557dc861ee27afb7aa197b4fe0514f1de8e2 (diff)
downloaddrakx-6c2032d8f18ae324f6795d30eac8bedda7ce4cdf.tar
drakx-6c2032d8f18ae324f6795d30eac8bedda7ce4cdf.tar.gz
drakx-6c2032d8f18ae324f6795d30eac8bedda7ce4cdf.tar.bz2
drakx-6c2032d8f18ae324f6795d30eac8bedda7ce4cdf.tar.xz
drakx-6c2032d8f18ae324f6795d30eac8bedda7ce4cdf.zip
tentatively fix lilo with lvm on /
Diffstat (limited to 'perl-install/install2.pm')
-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;
+ }
}
#------------------------------------------------------------------------------