summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-07-16 21:30:48 +0000
committerOlivier Blin <oblin@mandriva.com>2007-07-16 21:30:48 +0000
commit84a0026daea8b39f5bacec74173ab18db7832282 (patch)
treeee27dc812bfbafb620e6f3808730dbd4f1388a00 /perl-install/modules.pm
parent16f187b03b88d01e8cff2af364293edd0410fa79 (diff)
downloaddrakx-84a0026daea8b39f5bacec74173ab18db7832282.tar
drakx-84a0026daea8b39f5bacec74173ab18db7832282.tar.gz
drakx-84a0026daea8b39f5bacec74173ab18db7832282.tar.bz2
drakx-84a0026daea8b39f5bacec74173ab18db7832282.tar.xz
drakx-84a0026daea8b39f5bacec74173ab18db7832282.zip
load ide-disk module when loading disk/ide category
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 c0ebe60de..5cb8191f2 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -261,6 +261,7 @@ sub when_load_category {
if ($category =~ m,disk/ide,) {
$conf->add_probeall('ide-controller', $name);
+ eval { load('ide-disk') };
} elsif ($category =~ m,disk/(scsi|hardware_raid|sata|usb|firewire),) {
$conf->add_probeall('scsi_hostadapter', $name);
eval { load('sd_mod') };