summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}