All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] udev: install distro specific firmware handler
@ 2010-02-26 14:39 Philippe Seewer
       [not found] ` <1267195175-15554-1-git-send-email-philippe.seewer-omB+W0Dpw2o@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Philippe Seewer @ 2010-02-26 14:39 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

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 \
-- 
1.7.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-04 13:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-26 14:39 [PATCH] udev: install distro specific firmware handler Philippe Seewer
     [not found] ` <1267195175-15554-1-git-send-email-philippe.seewer-omB+W0Dpw2o@public.gmane.org>
2010-02-26 15:18   ` Andrey Borzenkov
     [not found]     ` <201002261818.37491.arvidjaar-JGs/UdohzUI@public.gmane.org>
2010-02-26 15:41       ` Seewer Philippe
     [not found]         ` <4B87EBA2.20206-omB+W0Dpw2o@public.gmane.org>
2010-02-26 16:35           ` Andrey Borzenkov
2010-03-04 13:08   ` Harald Hoyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.