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

This commit is contained in:
Philip 2017-12-30 02:57:52 -05:00
parent 7c88deedc8
commit 587c8b82a9

View File

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