diff options
author | vlad | 2015-07-08 15:37:49 +0300 |
---|---|---|
committer | vlad | 2015-07-08 15:37:49 +0300 |
commit | f02556f7631bdad1bb1f85ce36d8e44163600526 (patch) | |
tree | 04c88212698cc9df3ff81dc82e9b91fdf68fd5f8 /btrfs_install | |
download | aur-f02556f7631bdad1bb1f85ce36d8e44163600526.tar.gz |
Initial import
Diffstat (limited to 'btrfs_install')
-rw-r--r-- | btrfs_install | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/btrfs_install b/btrfs_install new file mode 100644 index 000000000000..61fa255cad7f --- /dev/null +++ b/btrfs_install @@ -0,0 +1,26 @@ +#!/bin/bash + +build() { + add_module btrfs + + add_binary btrfs + add_binary btrfsck + add_binary kexec + + if [ -f /etc/default/btrfs_advanced ]; then + add_file /etc/default/btrfs_advanced + fi + + add_runscript +} + + +help() { + cat <<HELPEOF +This hook provides advanced support for single and multi device btrfs +partitions, including rollback operations at boot time. If you do not +use the "udev" hook, then you MUST add the "btrfs" hook before this one. +HELPEOF +} + +# vim: set ft=sh ts=4 sw=4 et: |