summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-28 14:16:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-28 14:16:43 +0000
commit48d2a49b8c1c013a269803f6295838842aaaa16c (patch)
tree5baeef0ff3b21ae65a07c1c6c73b488ffb6e5fd9
parentda79847ed2ce5d99b77c6e93313ab981a37b52aa (diff)
downloaddrakx-backup-do-not-use-48d2a49b8c1c013a269803f6295838842aaaa16c.tar
drakx-backup-do-not-use-48d2a49b8c1c013a269803f6295838842aaaa16c.tar.gz
drakx-backup-do-not-use-48d2a49b8c1c013a269803f6295838842aaaa16c.tar.bz2
drakx-backup-do-not-use-48d2a49b8c1c013a269803f6295838842aaaa16c.tar.xz
drakx-backup-do-not-use-48d2a49b8c1c013a269803f6295838842aaaa16c.zip
- /dev/<vg> may not exist if LVs have not been created, it must not be an error (#31478)
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/install2.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index ecd57e6cb..fa61be29b 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,4 @@
+- /dev/<vg> may not exist if LVs have not been created, it must not be an error (#31478)
- use xkb instead of xmodmap
(this fixes XF86_Switch_VT_X not defined in our xmodmaps)
- save bootloader on MBR when calling grub/install.sh, and restore it before
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 0641761be..6b5d3452d 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -191,7 +191,7 @@ sub formatPartitions {
#- needed by lilo
if (-d '/dev/mapper' && !$::local_install) {
my @vgs = map { $_->{VG_name} } @{$o->{all_hds}{lvms}};
- cp_af("/dev/$_", "$::prefix/dev") foreach 'mapper', @vgs;
+ -e "/dev/$_" and cp_af("/dev/$_", "$::prefix/dev") foreach 'mapper', @vgs;
}
}