PKGBUILDs/core/klibc-udev/udev_install

29 lines
1.1 KiB
Bash

# vim:set ft=sh:
install ()
{
MODULES=""
BINARIES=""
FILES=" /etc/udev/udev.conf"
SCRIPT="udev"
add_file /lib/initcpio/udev/udevd /sbin/udevd
add_file /lib/initcpio/udev/udevadm /sbin/udevadm
add_file /lib/initcpio/udev/50-udev-default.rules /lib/udev/rules.d/50-udev-default.rules
add_file /lib/initcpio/udev/60-persistent-storage.rules /lib/udev/rules.d/60-persistent-storage.rules
add_file /lib/initcpio/udev/64-device-mapper.rules /lib/udev/rules.d/64-device-mapper.rules
add_file /lib/initcpio/udev/64-md-raid.rules /lib/udev/rules.d/64-md-raid.rules
add_file /lib/initcpio/udev/80-drivers.rules /lib/udev/rules.d/80-drivers.rules
add_file /lib/initcpio/udev/firmware.sh /lib/udev/firmware.sh
add_file /lib/initcpio/udev/path_id /lib/udev/path_id
add_file /lib/initcpio/udev/vol_id /lib/udev/vol_id
add_file /lib/initcpio/udev/load-modules.sh /lib/udev/load-modules.sh
}
help ()
{
cat <<HELPEOF
This hook will use udev to create your root device node
and detect the needed modules for your root device.
It is recommended to use this hook instead of modload.
HELPEOF
}