From 535f2950bfcd15608702055438d3f1b8c2f60478 Mon Sep 17 00:00:00 2001 From: dacook Date: Thu, 17 Dec 2009 09:00:14 -0700 Subject: [PATCH] GPG command-line handling Allow user to specify '--gpg' as an argument to genkernel and trigger the inclusion of PGP-armored LUKS key support. --- gen_cmdline.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gen_cmdline.sh b/gen_cmdline.sh index 3dcb65d..1bf5de3 100755 --- a/gen_cmdline.sh +++ b/gen_cmdline.sh @@ -97,6 +97,7 @@ longusage() { echo " ramdisk" echo " --luks Include LUKS support" echo " --> 'emerge cryptsetup-luks' with USE=-dynamic" + echo " --gpg Include GPG-armored LUKS key support" echo " --no-busybox Do not include busybox in the initramfs." echo " --unionfs Include support for unionfs" echo " --netboot Create a self-contained env in the initramfs" @@ -524,6 +525,10 @@ parse_cmdline() { CMD_LUKS=1 print_info 2 "CMD_LUKS: ${CMD_LUKS}" ;; + --gpg) + CMD_GPG=1 + print_info 2 "CMD_GPG: ${CMD_GPG}" + ;; --firmware) CMD_FIRMWARE=1 print_info 2 "CMD_FIRMWARE: ${CMD_FIRMWARE}" -- 2.26.2