[arch-commits] Commit in cryptsetup/trunk (PKGBUILD install-sd-encrypt)
Christian Hesse
eworm at archlinux.org
Mon Apr 9 13:03:19 UTC 2018
Date: Monday, April 9, 2018 @ 13:03:18
Author: eworm
Revision: 321390
add mkswap in initramfs
Modified:
cryptsetup/trunk/PKGBUILD
cryptsetup/trunk/install-sd-encrypt
--------------------+
PKGBUILD | 2 +-
install-sd-encrypt | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-09 12:19:24 UTC (rev 321389)
+++ PKGBUILD 2018-04-09 13:03:18 UTC (rev 321390)
@@ -22,7 +22,7 @@
'SKIP'
'416aa179ce3c6a7a5eee0861f1f0a4fafac91b69e84a2aae82b6e5a6140e31e2'
'7b8c8a189f1b63cb4a0c0dd93d3452615bdc05f0e33570c78b338446a59ca750'
- '7891087a588ede7a5b885c439217af325c994471e821fbfbf4f4ccce47679261')
+ '95a16baa273a0ea5c531bc4b65e7f142ae7cb6423b5e512f4413d1dd4a545421')
build() {
cd "${srcdir}"/$pkgname-${pkgver}
Modified: install-sd-encrypt
===================================================================
--- install-sd-encrypt 2018-04-09 12:19:24 UTC (rev 321389)
+++ install-sd-encrypt 2018-04-09 13:03:18 UTC (rev 321390)
@@ -28,6 +28,9 @@
# cryptsetup calls pthread_create(), which dlopen()s libgcc_s.so.1
add_binary "/usr/lib/libgcc_s.so.1"
+ # add mkswap for creating swap space on the fly (see 'swap' in crypttab(5))
+ add_binary "mkswap"
+
[[ -f /etc/crypttab.initramfs ]] && add_file "/etc/crypttab.initramfs" "/etc/crypttab"
}
More information about the arch-commits
mailing list