]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Add old style ide drivers if available
authorPhilippe Seewer <philippe.seewer@bfh.ch>
Fri, 16 Oct 2009 09:00:02 +0000 (11:00 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 27 Oct 2009 15:02:56 +0000 (16:02 +0100)
Some distros, including debian unstable with 2.6.30, still ship
old style ide drivers. These should be installed as well.

Sadly there are no symbols to use for nm, so a simple =ide needs
to suffice.

modules.d/90kernel-modules/installkernel

index 2e74a850c1f654f2bcaf65805346dcc0a5c32620..b5e4c9311ad3467dc4126712e51096af91434e08 100755 (executable)
@@ -5,7 +5,7 @@ if [[ -z $drivers ]]; then
 
         nm -uPA "$1" | egrep -q "$blockfuncs"
     }
-    instmods pcmcia sd_mod $(filter_kernel_modules block_module_test) "=drivers/pcmcia"
+    instmods pcmcia sd_mod $(filter_kernel_modules block_module_test) "=drivers/pcmcia" =ide
     # if not on hostonly mode, install all known filesystems.
     if [[ $hostonly = '' ]]; then
        instmods '=fs'