diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-04-04 16:56:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-04-04 16:56:33 +0000 |
commit | 77197cbc504fbc5c35c5e6ff4c261e3e0740a2c2 (patch) | |
tree | 7c4be52464c3cbe41dc6df27cd693fff64e339d5 /perl-install | |
parent | 39f66f8ef322e9892ce2801a9bca42b586ff2dff (diff) | |
download | drakx-77197cbc504fbc5c35c5e6ff4c261e3e0740a2c2.tar drakx-77197cbc504fbc5c35c5e6ff4c261e3e0740a2c2.tar.gz drakx-77197cbc504fbc5c35c5e6ff4c261e3e0740a2c2.tar.bz2 drakx-77197cbc504fbc5c35c5e6ff4c261e3e0740a2c2.tar.xz drakx-77197cbc504fbc5c35c5e6ff4c261e3e0740a2c2.zip |
(vgs) log ignored dmraid devices (might help mga#9467)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fs/dmraid.pm | 7 | ||||
-rw-r--r-- | perl-install/install/NEWS | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/fs/dmraid.pm b/perl-install/fs/dmraid.pm index 892a85d0a..eae1fdd86 100644 --- a/perl-install/fs/dmraid.pm +++ b/perl-install/fs/dmraid.pm @@ -117,7 +117,12 @@ sub vgs() { #- device should exist, created by dmraid(8) using libdevmapper #- if it doesn't, we suppose it's not in use - if_(-e "/dev/$dev", $vg); + if (-e "/dev/$dev") { + $vg; + } else { + log::l("ignoring $dev as /dev/$dev doesn't exist"); + (); + } } grep { if ($_->{status} eq 'ok') { diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 107a9090d..979d34a58 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,4 +1,5 @@ - force loading NSS modules (mga#9326) +- log ignored dmraid devices (might help mga#9467) - drakx-in-chroot: o always copy /etc/resolv.conf again |