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:
parent
afc6e719b4
commit
0ed0d37693
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user