Use graphical decryption prompt with plymouth as adviced here: https://wiki.archlinux.org/index.php/plymouth#The_plymouth_hook

main
Chrysostomus 4 years ago
parent ed95c4a541
commit 3bf57c7785

@ -123,10 +123,6 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
openswap_hook = False
unencrypted_separate_boot = False
# It is important that the plymouth hook comes before any encrypt hook
if detect_plymouth():
hooks.append("plymouth")
for partition in partitions:
if partition["fs"] == "linuxswap" and not partition.get("claimed", None):
# Skip foreign swap
@ -154,6 +150,9 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
hooks.append("usr")
if encrypt_hook:
if detect_plymouth():
hooks.append("plymouth-encrypt")
else:
hooks.append("encrypt")
if not unencrypted_separate_boot and \
os.path.isfile(

Loading…
Cancel
Save