summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-10-17 13:46:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-10-17 13:46:05 +0000
commit4f33ab3c5700ed669d99b70669e451e7b391c573 (patch)
tree781c2c32cc9c3564fbe0be19a48b4927f29093ae /perl-install/install
parenta9200d2a9187a587dab7638b4b81c2a736ce7859 (diff)
downloaddrakx-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.pm2
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;
}