udev-rules: hardcode helper binaries

master
Harald Hoyer 2009-08-14 16:20:07 +02:00
parent b806825d2a
commit 0f1361ee1c
1 changed files with 16 additions and 1 deletions

View File

@ -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*