Regular plymouth hook is also still needed

This commit is contained in:
Chrysostomus 2020-11-03 13:57:19 +02:00
parent 3bf57c7785
commit 84558333bf

View File

@ -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