diff --git a/src/modules/initcpiocfg/main.py b/src/modules/initcpiocfg/main.py index 7df2ea9e3..3c36466d8 100644 --- a/src/modules/initcpiocfg/main.py +++ b/src/modules/initcpiocfg/main.py @@ -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: