[prev in list] [next in list] [prev in thread] [next in thread] 

List:       initramfs
Subject:    Re: [PATCH] udev: install distro specific firmware handler
From:       Harald Hoyer <harald () redhat ! com>
Date:       2010-03-04 13:08:08
Message-ID: 4B8FB0B8.1070509 () redhat ! com
[Download RAW message or body]

On 02/26/2010 03:39 PM, Philippe Seewer wrote:
> Debian Unstable still calls its firmware handling script
> 'firmware.agent' instead of 'firmware.sh'. This patch ensures that
> either the .agent or the .sh gets installed.
> ---
>   modules.d/95udev-rules/install |    5 +++--
>   1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/modules.d/95udev-rules/install b/modules.d/95udev-rules/install
> index b903a41..287cc03 100755
> --- a/modules.d/95udev-rules/install
> +++ b/modules.d/95udev-rules/install
> @@ -15,7 +15,9 @@ inst_rules "$moddir/01-ignore.rules"
>
>   # for firmware loading
>   inst_rules 50-firmware.rules
> -dracut_install /lib/udev/firmware.sh
> +for i in firmware.sh firmware.agent hotplug.functions ; do
> +    [ -e /lib/udev/$i ]&&  dracut_install /lib/udev/$i
> +done
>   dracut_install cat uname
>
>   if [ ! -x /lib/udev/vol_id ]; then
> @@ -31,7 +33,6 @@ ata_id \
>   cdrom_id \
>   create_floppy_devices \
>   edd_id \
> -firmware.sh \
>   fw_unit_symlinks.sh \
>   hid2hci \
>   path_id \

pushed
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic