diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-03-11 14:26:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-03-11 14:26:43 +0000 |
commit | 6c2032d8f18ae324f6795d30eac8bedda7ce4cdf (patch) | |
tree | 37328ccdf41b60ac637ed3f03e3056a84ca3c387 /perl-install/install2.pm | |
parent | adf4557dc861ee27afb7aa197b4fe0514f1de8e2 (diff) | |
download | drakx-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.pm | 5 |
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; + } } #------------------------------------------------------------------------------ |