summaryrefslogtreecommitdiffstats
path: root/install/autodetect
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2008-04-13 14:27:05 +0200
committerThomas Bächler <thomas@archlinux.org>2008-04-13 14:27:05 +0200
commitdd9e1eba3a2d80a59c5afb9925cb6afabae22edc (patch)
treed26ddc40d1c8ecc0795f662d7e1f4375da27f288 /install/autodetect
parent45a9fab4fb3d81b4abfae15d1fb6b4bd0b7b325d (diff)
downloadmkinitcpio-dd9e1eba3a2d80a59c5afb9925cb6afabae22edc.tar.gz
mkinitcpio-dd9e1eba3a2d80a59c5afb9925cb6afabae22edc.tar.xz
Don't add the 'generic' ide or pata modules when autodetection is enabled
Diffstat (limited to 'install/autodetect')
-rw-r--r--install/autodetect3
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