Regular plymouth hook is also still needed

main
Chrysostomus 4 years ago
parent 3bf57c7785
commit 84558333bf

@ -123,6 +123,10 @@ 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

Loading…
Cancel
Save