Boria138 2023-08-17 12:44:13 +06:00
parent 438e0c6575
commit 5769c9c6da

View File

@ -220,12 +220,7 @@ def find_initcpio_features(partitions, root_mount_point):
hooks.append("usr")
if encrypt_hook:
if detect_plymouth() and unencrypted_separate_boot:
if uses_systemd:
hooks.append("sd-encrypt")
else:
hooks.append("plymouth-encrypt")
else:
if unencrypted_separate_boot:
if uses_systemd:
hooks.append("sd-encrypt")
else: