[initcpiocfg] add usr hook if partition is separate

main
Philip Müller 6 years ago
parent 0e7982ec37
commit 85d3f9e9b9

@ -144,6 +144,9 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
and "luksMapperName" not in partition):
unencrypted_separate_boot = True
if partition["mountPoint"] == "/usr":
hooks.append("usr")
if encrypt_hook:
hooks.append("encrypt")
if not unencrypted_separate_boot and \

Loading…
Cancel
Save