diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-10-17 13:46:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-10-17 13:46:05 +0000 |
commit | 4f33ab3c5700ed669d99b70669e451e7b391c573 (patch) | |
tree | 781c2c32cc9c3564fbe0be19a48b4927f29093ae /perl-install/install | |
parent | a9200d2a9187a587dab7638b4b81c2a736ce7859 (diff) | |
download | drakx-4f33ab3c5700ed669d99b70669e451e7b391c573.tar drakx-4f33ab3c5700ed669d99b70669e451e7b391c573.tar.gz drakx-4f33ab3c5700ed669d99b70669e451e7b391c573.tar.bz2 drakx-4f33ab3c5700ed669d99b70669e451e7b391c573.tar.xz drakx-4f33ab3c5700ed669d99b70669e451e7b391c573.zip |
/dev/<vg_name> doesn't exist in drakx-in-chroot (why?), but at least it's not
needed for lilo since we don't use lilo in chroot
Diffstat (limited to 'perl-install/install')
-rw-r--r-- | perl-install/install/install2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index 62f0adb42..77536d7c0 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -188,7 +188,7 @@ sub formatPartitions { raid::write_conf($o->{all_hds}{raids}); #- needed by lilo - if (-d '/dev/mapper') { + if (-d '/dev/mapper' && !$::local_install) { my @vgs = map { $_->{VG_name} } @{$o->{all_hds}{lvms}}; cp_af("/dev/$_", "$::prefix/dev") foreach 'mapper', @vgs; } |