archrelease: copy trunk to extra-x86_64
[arch-packages.git] / systemd / trunk / initcpio-install-udev
blobfef6f9bb723509cd8169cf7270efcd897eefd4c5
1 #!/bin/bash
3 build() {
4 local rules tool
6 map add_binary \
7 '/usr/lib/systemd/systemd-udevd' \
8 '/usr/bin/udevadm' \
9 '/usr/bin/systemd-tmpfiles'
11 map add_udev_rule \
12 '50-udev-default.rules' \
13 '60-persistent-storage.rules' \
14 '64-btrfs.rules' \
15 '80-drivers.rules'
17 map add_file \
18 '/usr/lib/udev/ata_id' \
19 '/usr/lib/udev/scsi_id'
21 add_runscript
24 help() {
25 cat <<HELPEOF
26 This hook adds the udev daemon to the initramfs, allowing for dynamic loading
27 of modules and reliable detection of the root device via tags (e.g. UUID or
28 LABEL). Do not remove this hook unless you are using the systemd hook, or you
29 know what you're doing.
30 HELPEOF
33 # vim: set ft=sh ts=4 sw=4 et: