Don't use plymouth-encrypt if there is keyfile in use, because it is buggy and asks for password even when it is not needed

This commit is contained in:
Chrysostomus 2020-12-05 22:55:35 +02:00
parent afc6e719b4
commit 0ed0d37693

View File

@ -153,7 +153,7 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
hooks.append("usr") hooks.append("usr")
if encrypt_hook: if encrypt_hook:
if detect_plymouth(): if detect_plymouth() and unencrypted_separate_boot():
hooks.append("plymouth-encrypt") hooks.append("plymouth-encrypt")
else: else:
hooks.append("encrypt") hooks.append("encrypt")