diff options
author | Thomas Bächler <thomas@archlinux.org> | 2008-04-13 14:27:05 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2008-04-13 14:27:05 +0200 |
commit | dd9e1eba3a2d80a59c5afb9925cb6afabae22edc (patch) | |
tree | d26ddc40d1c8ecc0795f662d7e1f4375da27f288 | |
parent | 45a9fab4fb3d81b4abfae15d1fb6b4bd0b7b325d (diff) | |
download | mkinitcpio-dd9e1eba3a2d80a59c5afb9925cb6afabae22edc.tar.gz mkinitcpio-dd9e1eba3a2d80a59c5afb9925cb6afabae22edc.tar.xz |
Don't add the 'generic' ide or pata modules when autodetection is enabled
-rw-r--r-- | install/autodetect | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect index 8d7da7e..1991798 100644 --- a/install/autodetect +++ b/install/autodetect @@ -6,7 +6,8 @@ install () #blegh, we'll let /tmp clean itself up AUTODETECT="$(auto_modules -e '/scsi/' -e '/block' -e '/fusion/' \ -e '/usb/' -e '/ide/' -e '/ieee1394/' -e '/cdrom' \ - -e '/net/' -e '/pcmcia' -e '/ata')" + -e '/net/' -e '/pcmcia' -e '/ata' \ + | grep -v -e 'ata_generic.ko' -e 'ide-generic.ko')" #Filesystem detection, use sysfs instead of /proc |