]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
udev-rules: hardcode helper binaries
authorHarald Hoyer <harald@redhat.com>
Fri, 14 Aug 2009 14:20:07 +0000 (16:20 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 14 Aug 2009 15:27:49 +0000 (17:27 +0200)
modules.d/95udev-rules/install

index f8ea69a0836fb1fd5584528a64509573b3dd8519..86d0e1705b4a8b15695a96ccb04c5b176f20e8b6 100755 (executable)
@@ -2,7 +2,7 @@
 # FIXME: would be nice if we didn't have to know which rules to grab....
 # ultimately, /lib/initramfs/rules.d or somesuch which includes links/copies
 # of the rules we want so that we just copy those in would be best
-dracut_install udevd udevadm /lib*/udev/*_id /etc/udev/udev.conf /etc/group
+dracut_install udevd udevadm /etc/udev/udev.conf /etc/group
 dracut_install basename
 inst_rules 50-udev-default.rules 60-persistent-storage.rules \
     61-persistent-storage-edd.rules 80-drivers.rules 95-udev-late.rules 
@@ -21,6 +21,21 @@ if [ ! -x /lib/udev/vol_id ]; then
     dracut_install blkid
 fi
 
+for i in \
+ata_id \
+cdrom_id \
+create_floppy_devices \
+edd_id \
+firmware.sh \
+fw_unit_symlinks.sh \
+hid2hci \
+path_id \
+scsi_id \
+usb_id \
+; do
+    [ -x /lib/udev/$i ] && dracut_install /lib/udev/$i
+done
+
 
 if ldd $(find_binary udevd) |grep -q /lib64/libc; then
     dracut_install /lib64/libnss_files*