udev-rules: hardcode helper binaries
parent
b806825d2a
commit
0f1361ee1c
|
@ -2,7 +2,7 @@
|
||||||
# FIXME: would be nice if we didn't have to know which rules to grab....
|
# 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
|
# 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
|
# 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
|
dracut_install basename
|
||||||
inst_rules 50-udev-default.rules 60-persistent-storage.rules \
|
inst_rules 50-udev-default.rules 60-persistent-storage.rules \
|
||||||
61-persistent-storage-edd.rules 80-drivers.rules 95-udev-late.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
|
dracut_install blkid
|
||||||
fi
|
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
|
if ldd $(find_binary udevd) |grep -q /lib64/libc; then
|
||||||
dracut_install /lib64/libnss_files*
|
dracut_install /lib64/libnss_files*
|
||||||
|
|
Loading…
Reference in New Issue