aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2022-05-24 13:34:54 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2022-05-24 13:34:54 -0700
commitedefa80c999972b0dffdc5c9cf9d880156e6e0db (patch)
tree895cb2bb1364702ce171dce6e032d8d8f2cffdd5 /gen_cmdline.sh
parentarch: Copy s390 config to s390x (it's 64bit anyway!) (diff)
parentgenkernel: add keyctl support for loading LUKS passphrase into a keyring (diff)
downloadgenkernel-edefa80c999972b0dffdc5c9cf9d880156e6e0db.tar.gz
genkernel-edefa80c999972b0dffdc5c9cf9d880156e6e0db.tar.bz2
genkernel-edefa80c999972b0dffdc5c9cf9d880156e6e0db.zip
add keyctl support for loading LUKS passphrase into a keyring
Merges: https://github.com/gentoo/genkernel/pull/10 Closes: https://github.com/gentoo/genkernel/pull/10 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'gen_cmdline.sh')
-rwxr-xr-xgen_cmdline.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/gen_cmdline.sh b/gen_cmdline.sh
index e53de69..0cba7d1 100755
--- a/gen_cmdline.sh
+++ b/gen_cmdline.sh
@@ -181,6 +181,8 @@ longusage() {
echo " --no-luks Exclude LUKS support"
echo " --gpg Include GPG-armored LUKS key support"
echo " --no-gpg Exclude GPG-armored LUKS key support"
+ echo " --keyctl Include keyctl support for loading LUKS passphrase into a keyring"
+ echo " --no-keyctl Exclude keyctl support for loading LUKS passphrase into a keyring"
echo " --b2sum Include b2sum"
echo " --no-b2sum Exclude b2sum"
echo " --busybox Include busybox"
@@ -837,6 +839,10 @@ parse_cmdline() {
CMD_GPG=$(parse_optbool "$*")
print_info 3 "CMD_GPG: ${CMD_GPG}"
;;
+ --keyctl|--no-keyctl)
+ CMD_KEYCTL=$(parse_optbool "$*")
+ print_info 3 "CMD_KEYCTL: ${CMD_KEYCTL}"
+ ;;
--firmware|--no-firmware)
CMD_FIRMWARE=$(parse_optbool "$*")
print_info 3 "CMD_FIRMWARE: ${CMD_FIRMWARE}"