summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/modules.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 295babc84..61fc6c759 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,4 +1,5 @@
- add ide-disk module in disk/raw
+- load ide-disk module when loading disk/ide category
Version 10.4.147 - 12 July 2007, by Pascal "Pixel" Rigaux
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') };