From 84558333bfe1e94e40a7964cf4a7ac50a2112f4e Mon Sep 17 00:00:00 2001 From: Chrysostomus Date: Tue, 3 Nov 2020 13:57:19 +0200 Subject: [PATCH] Regular plymouth hook is also still needed --- src/modules/initcpiocfg/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/initcpiocfg/main.py b/src/modules/initcpiocfg/main.py index 6e86b3908..6e3de6931 100644 --- a/src/modules/initcpiocfg/main.py +++ b/src/modules/initcpiocfg/main.py @@ -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