summaryrefslogtreecommitdiff
path: root/initcpio/install
diff options
context:
space:
mode:
Diffstat (limited to 'initcpio/install')
-rwxr-xr-xinitcpio/install14
1 files changed, 14 insertions, 0 deletions
diff --git a/initcpio/install b/initcpio/install
new file mode 100755
index 0000000..72d4231
--- /dev/null
+++ b/initcpio/install
@@ -0,0 +1,14 @@
+#!/bin/bash
+build() {
+ add_module bcache
+ add_binary /usr/lib/udev/bcache-register
+ add_binary /usr/lib/udev/probe-bcache
+ add_file /usr/lib/udev/rules.d/69-bcache.rules
+}
+help() {
+ cat <<HELPEOF
+This hook will auto-assemble bcache devices.
+Requires the udev hook.
+HELPEOF
+}
+