Browse Source

udev-rules: hardcode helper binaries

master
Harald Hoyer 16 years ago
parent
commit
0f1361ee1c
  1. 17
      modules.d/95udev-rules/install

17
modules.d/95udev-rules/install

@ -2,7 +2,7 @@ @@ -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 @@ -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*

Loading…
Cancel
Save