Add keyfile for lvm installs with luks

This commit is contained in:
natemaia 2018-12-17 22:36:36 -08:00
parent 6613c71132
commit 6a337a6d55

View File

@ -2025,7 +2025,7 @@ run_mkinitcpio()
{ {
local add="" local add=""
# setup a keyfile for LUKS.. Only when choosing grub and system is UEFI # setup a keyfile for LUKS.. Only when choosing grub and system is UEFI
if [[ $LUKS && ! $LVM && $SYS == 'UEFI' && $BOOTLDR == 'grub' ]]; then if [[ $LUKS && $SYS == 'UEFI' && $BOOTLDR == 'grub' ]]; then
luks_keyfile luks_keyfile
fi fi