GPG command-line handling

Allow user to specify '--gpg' as an argument to genkernel and trigger the
inclusion of PGP-armored LUKS key support.
cleanup-cruft
dacook 15 years ago
parent f78d61d8b3
commit 535f2950bf

@ -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}"

Loading…
Cancel
Save