summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/klibc-udev/udev_install
blob: 62d5b00197a1f5e1ecc4c93277b529fe81169574 (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
30
31
# 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/udevtrigger /sbin/udevtrigger
    add_file /lib/initcpio/udev/udevsettle /sbin/udevsettle
    add_file /lib/initcpio/udev/udev.rules /etc/udev/rules.d/udev.rules
    add_file /lib/initcpio/udev/start_udev /etc/start_udev
    add_file /lib/initcpio/udev/firmware.sh /lib/udev/firmware.sh
    add_file /lib/initcpio/udev/cdrom_id /lib/udev/cdrom_id
    add_file /lib/initcpio/udev/ata_id /lib/udev/ata_id
    add_file /lib/initcpio/udev/usb_id /lib/udev/usb_id
    add_file /lib/initcpio/udev/edd_id /lib/udev/edd_id
    #add_file /lib/initcpio/udev/scsi_id /lib/udev/scsi_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
}