[initcpiocfg] search just for 'lvm2' in partition[fs]

This commit is contained in:
Philip 2017-12-30 02:57:52 -05:00
parent 5cb0cc4f66
commit 06f646bffd

View File

@ -123,7 +123,7 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
if partition["fs"].lower() == "btrfs":
btrfs = "yes"
if partition["fs"] == "lvm2 pv":
if "lvm2" in partition["fs"]:
lvm2 = "yes"
if partition["mountPoint"] == "/" and "luksMapperName" in partition: