summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Sovetkin2016-02-06 21:02:28 +0100
committerEugene Sovetkin2016-02-06 21:02:28 +0100
commit6dd4b89554ba92b99d6a8f757340c073a705bc31 (patch)
treeaa1361d0ca0a1eecbe993107103cade71acff692
parent05c09af0c87fbcee537ba5c4400acedadf3171d7 (diff)
downloadaur-6dd4b89554ba92b99d6a8f757340c073a705bc31.tar.gz
Minor change
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
-rw-r--r--openswap.conf3
3 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e4a851664ecc..5380866373fb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by mksrcinfo v8
+# Sat Feb 6 20:01:55 UTC 2016
pkgbase = mkinitcpio-openswap
pkgdesc = mkinitcpio hook to open swap at boot time
pkgver = 0.0.0
@@ -13,7 +15,7 @@ pkgbase = mkinitcpio-openswap
source = openswap.conf
md5sums = a5b52e3c3b5dc592f41567b21ec2e9cf
md5sums = ae743e0fd95cc1c07705cf7c472416b1
- md5sums = 8a72bf00f155512490884eb4911cc4f4
+ md5sums = 101861982a5e2ad64a32a158894bbbea
pkgname = mkinitcpio-openswap
diff --git a/PKGBUILD b/PKGBUILD
index 0c6a0f1cfe91..6dd2b8b70a69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jenya Sovetkin <e.sovetkin@gmail.com>
pkgname=mkinitcpio-openswap
pkgver=0.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="mkinitcpio hook to open swap at boot time"
arch=(any)
license=('unknown')
@@ -14,8 +14,8 @@ source=('openswap.hook'
'openswap.conf')
md5sums=('a5b52e3c3b5dc592f41567b21ec2e9cf'
'ae743e0fd95cc1c07705cf7c472416b1'
- '8a72bf00f155512490884eb4911cc4f4')
-
+ '101861982a5e2ad64a32a158894bbbea')
+
package() {
install -Dm 644 openswap.hook \
diff --git a/openswap.conf b/openswap.conf
index 75382fc9f161..e9a790a877e9 100644
--- a/openswap.conf
+++ b/openswap.conf
@@ -8,4 +8,5 @@ keyfile_device=/dev/mapper/cryptroot
keyfile_filename=etc/keyfile-cryptswap
## additional arguments are given to cryptsetup
-miscellaneous="--type luks" \ No newline at end of file
+## --allow-discards options is desired in case swap is on SSD partition
+miscellaneous="--type luks"