[initcpio] add usr hook as needed
This commit is contained in:
parent
93883ef27f
commit
d385752155
@ -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…
Reference in New Issue
Block a user