Merge pull request #1291 from calamares/initcpiocfg-usr
[initcpiocfg] add usr hook if partition is separate
This commit is contained in:
commit
dd5adc153f
@ -155,6 +155,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