Use variable instead of a function
This commit is contained in:
parent
0ed0d37693
commit
59cfdcccdf
@ -153,7 +153,7 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
|
|||||||
hooks.append("usr")
|
hooks.append("usr")
|
||||||
|
|
||||||
if encrypt_hook:
|
if encrypt_hook:
|
||||||
if detect_plymouth() and unencrypted_separate_boot():
|
if detect_plymouth() and unencrypted_separate_boot:
|
||||||
hooks.append("plymouth-encrypt")
|
hooks.append("plymouth-encrypt")
|
||||||
else:
|
else:
|
||||||
hooks.append("encrypt")
|
hooks.append("encrypt")
|
||||||
|
Loading…
Reference in New Issue
Block a user