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

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Sat Jun 18 17:02:32 EDT 2011


On 06/18/2011 05:56 PM, Gerardo Exequiel Pozzi wrote:
> 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
I create a git repo to make your life more easy

https://github.com/djgera/mkinitcpio (branch djgera)

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-projects mailing list