This commit is contained in:
parent
438e0c6575
commit
5769c9c6da
@ -220,12 +220,7 @@ def find_initcpio_features(partitions, root_mount_point):
|
|||||||
hooks.append("usr")
|
hooks.append("usr")
|
||||||
|
|
||||||
if encrypt_hook:
|
if encrypt_hook:
|
||||||
if detect_plymouth() and unencrypted_separate_boot:
|
if unencrypted_separate_boot:
|
||||||
if uses_systemd:
|
|
||||||
hooks.append("sd-encrypt")
|
|
||||||
else:
|
|
||||||
hooks.append("plymouth-encrypt")
|
|
||||||
else:
|
|
||||||
if uses_systemd:
|
if uses_systemd:
|
||||||
hooks.append("sd-encrypt")
|
hooks.append("sd-encrypt")
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user