summarylogtreecommitdiffstats
path: root/openswap.install
diff options
context:
space:
mode:
authorFabio Tea2016-12-06 02:50:27 +0100
committerJenya Sovetkin2016-12-06 10:29:48 +0100
commit601ae996bd96e498ccc6b45e9a534bae6f528f84 (patch)
tree8c1fe09a6f9d3bd68924dfcfbf0cfe51f0bbb2f9 /openswap.install
parent6dd4b89554ba92b99d6a8f757340c073a705bc31 (diff)
downloadaur-601ae996bd96e498ccc6b45e9a534bae6f528f84.tar.gz
keyfile_device_mount_options and cryptsetup_options
+ renamed `miscellaneous` to the more descriptive `cryptsetup_options` + added `keyfile_device_mount_options` to allow keyfiles lying on subvolumes (e.g. btrfs)
Diffstat (limited to 'openswap.install')
-rw-r--r--openswap.install5
1 files changed, 3 insertions, 2 deletions
diff --git a/openswap.install b/openswap.install
index db04155fe4cc..95d59a3d6d32 100644
--- a/openswap.install
+++ b/openswap.install
@@ -4,7 +4,8 @@ build ()
grep "crypt_swap_name=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
grep "keyfile_device=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
grep "keyfile_filename=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
- grep "miscellaneous=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
+ grep "keyfile_device_mount_options=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
+ grep "cryptsetup_options=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
source "$BUILDROOT/openswap.conf"
@@ -23,4 +24,4 @@ help ()
cat<<HELPEOF
This hook opens a swap at boot time
HELPEOF
-} \ No newline at end of file
+}