archrelease: copy trunk to extra-x86_64
[arch-packages.git] / dmraid / repos / core-x86_64 / dmraid_install
blobacbc43d95300d83fcee274325f605ff1281d2762
1 #!/bin/bash
3 build() {
4 add_module 'dm-mod'
5 add_module 'dm-mirror'
7 add_binary 'dmraid'
8 add_binary 'dmsetup'
9 add_file "/usr/lib/device-mapper/libdmraid-events-isw.so"
10 add_file "/usr/lib/udev/rules.d/10-dm.rules"
11 add_file "/usr/lib/udev/rules.d/13-dm-disk.rules"
12 add_file "/usr/lib/udev/rules.d/95-dm-notify.rules"
13 add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules"
15 add_runscript
18 help() {
19 cat <<HELPEOF
20 This hook loads the necessary modules for a dmraid root device.
21 HELPEOF
24 # vim: set ft=sh ts=4 sw=4 et: