[arch-projects] [PATCH] [mkinitcpio] Fix usb and usbinput install hook

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Sat Jun 18 16:56:00 EDT 2011


Avoid inclusion of ignored modules due recent change in checked_modules()

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
---
 install/usb      |    2 +-
 install/usbinput |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/install/usb b/install/usb
index 605912c..1a30a53 100644
--- a/install/usb
+++ b/install/usb
@@ -2,7 +2,7 @@
 
 install ()
 {
-    MODULES=" $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl811-hcd" -e "isp116x-hcd")"
+    MODULES=" $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl811_hcd" -e "isp116x_hcd")"
 
     MODULES=$(echo ${MODULES}) #trim whitespace
     if [ -n "${MODULES}" ]; then
diff --git a/install/usbinput b/install/usbinput
index 0d293ae..4f46979 100644
--- a/install/usbinput
+++ b/install/usbinput
@@ -2,7 +2,7 @@
 
 install ()
 {
-    MODULES=" $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl811-hcd" -e "isp116x-hcd") "
+    MODULES=" $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl811_hcd" -e "isp116x_hcd") "
     MODULES=" $(echo ${MODULES}) $(all_modules "/hid/hid-") "
 
     MODULES=$(echo ${MODULES}) #trim whitespace
-- 
1.7.5.2



More information about the arch-projects mailing list