diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-06-17 22:46:41 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-06-17 22:46:41 -0400 |
commit | 1795e1d6f84d15ae2686f1238d5fd4b5f8b6b550 (patch) | |
tree | ca5b366d2852e07a929b6cb4a602bd36f559fadb /libre/notsystemd/initcpio-install-udev | |
parent | dfd751fdf2fdf2b5807a5e5e42032ba0b995f8b9 (diff) | |
download | abslibre-1795e1d6f84d15ae2686f1238d5fd4b5f8b6b550.tar.gz abslibre-1795e1d6f84d15ae2686f1238d5fd4b5f8b6b550.tar.bz2 abslibre-1795e1d6f84d15ae2686f1238d5fd4b5f8b6b550.zip |
add libre/notsystemd
Diffstat (limited to 'libre/notsystemd/initcpio-install-udev')
-rw-r--r-- | libre/notsystemd/initcpio-install-udev | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libre/notsystemd/initcpio-install-udev b/libre/notsystemd/initcpio-install-udev new file mode 100644 index 000000000..7f0301a48 --- /dev/null +++ b/libre/notsystemd/initcpio-install-udev @@ -0,0 +1,28 @@ +#!/bin/bash + +build() { + local rules tool + + add_binary /usr/lib/systemd/systemd-udevd + add_binary /usr/bin/udevadm + add_binary /usr/bin/systemd-tmpfiles + + for rules in 50-udev-default.rules 60-persistent-storage.rules 64-btrfs.rules 80-drivers.rules; do + add_file "/usr/lib/udev/rules.d/$rules" + done + for tool in ata_id scsi_id; do + add_file "/usr/lib/udev/$tool" + done + + add_runscript +} + +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 also required for firmware loading in +initramfs. It is recommended to use this hook. +HELPEOF +} + +# vim: set ft=sh ts=4 sw=4 et: |