summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-07 14:11:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-07 14:11:10 +0000
commit2c668261d41bd68061d2a52844a0fb15c548abd4 (patch)
tree7df57c3288bb80585e5f890c1b0a05cbf7e2ac7f /perl-install/modules.pm
parentd796c22d605448cc827e671e5d2e8e9654ba26fe (diff)
downloaddrakx-2c668261d41bd68061d2a52844a0fb15c548abd4.tar
drakx-2c668261d41bd68061d2a52844a0fb15c548abd4.tar.gz
drakx-2c668261d41bd68061d2a52844a0fb15c548abd4.tar.bz2
drakx-2c668261d41bd68061d2a52844a0fb15c548abd4.tar.xz
drakx-2c668261d41bd68061d2a52844a0fb15c548abd4.zip
silent error when ahci or ata_piix insmod fail (ahci fails on vmware)
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 56ab526a3..dc7783659 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -135,6 +135,7 @@ sub load_category {
my @l = (
(map {
my $other = { ahci => 'ata_piix', ata_piix => 'ahci' }->{$_->{driver}};
+ $_->{try} = 1 if $other;
($_, if_($other, { %$_, driver => $other }));
} probe_category($category)),
(map { { driver => $_, description => $_, try => 1 } } @try_modules),