summaryrefslogtreecommitdiff
path: root/pcr/mkinitcpio-openswap/openswap.conf
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2017-07-02 18:45:15 -0400
committerDavid P <megver83@parabola.nu>2017-07-02 18:45:15 -0400
commitf98362f371e259fa45b089c4183a5035285beb65 (patch)
tree5195363751bef1d753590eeffd235b287f03e469 /pcr/mkinitcpio-openswap/openswap.conf
parent1b1185741639651b65d2953c06a64090e9a16df6 (diff)
downloadabslibre-f98362f371e259fa45b089c4183a5035285beb65.tar.gz
abslibre-f98362f371e259fa45b089c4183a5035285beb65.tar.bz2
abslibre-f98362f371e259fa45b089c4183a5035285beb65.zip
Added pythonqt and mkinitcpio-openswap to [pcr]
Diffstat (limited to 'pcr/mkinitcpio-openswap/openswap.conf')
-rw-r--r--pcr/mkinitcpio-openswap/openswap.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/mkinitcpio-openswap/openswap.conf b/pcr/mkinitcpio-openswap/openswap.conf
new file mode 100644
index 000000000..b7e92e0e0
--- /dev/null
+++ b/pcr/mkinitcpio-openswap/openswap.conf
@@ -0,0 +1,17 @@
+## cryptsetup open $swap_device $crypt_swap_name
+## get uuid using e.g. lsblk -f
+swap_device=/dev/disk/by-uuid/2788eb78-074d-4424-9f1d-ebffc9c37262
+crypt_swap_name=cryptswap
+
+## one can optionally provide a keyfile device and path on this device
+## to the keyfile
+keyfile_device=/dev/mapper/cryptroot
+keyfile_filename=etc/keyfile-cryptswap
+
+## additional arguments are given to mount for keyfile_device
+## has to start with --options (if so desired)
+#keyfile_device_mount_options="--options=subvol=__active/__"
+
+## additional arguments are given to cryptsetup
+## --allow-discards options is desired in case swap is on SSD partition
+cryptsetup_options="--type luks"