summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/klibc-udev/udev_install
blob: 94dcd80314b1781465afa2b05154d641717e9c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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
}