OSDN Git Service

upg
[joborun/jobcore.git] / eudev / initcpio_install
1 #!/bin/bash
2
3 build() {
4     add_file "/etc/udev/udev.conf"
5     add_binary /usr/bin/udevd
6     add_binary /usr/bin/udevadm
7
8     for rule in 50-udev-default.rules 60-persistent-storage.rules 64-btrfs.rules 80-drivers.rules; do
9         add_file "/usr/lib/udev/rules.d/$rule"
10     done
11
12     for tool in ata_id scsi_id; do
13         add_file "/usr/lib/udev/$tool"
14     done
15
16     add_runscript
17 }
18
19 help() {
20     cat <<HELPEOF
21 This hook will use udev to create your root device node and detect the needed
22 modules for your root device. It is also required for firmware loading in
23 initramfs. It is recommended to use this hook.
24 HELPEOF
25 }
26
27 # vim: set ft=sh ts=4 sw=4 et: