[initcpiocfg] work on #797 and #796

This commit is contained in:
Philip 2017-09-12 05:07:35 -04:00
parent 402d891aaa
commit 82c0321122

View File

@ -114,12 +114,12 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
hooks.append("plymouth")
for partition in partitions:
if partition["fs"] == "linuxswap":
if partition["fs"].lower() == "linuxswap":
swap_uuid = partition["uuid"]
if "luksMapperName" in partition:
openswap_hook = True
if partition["fs"] == "btrfs":
if partition["fs"].lower() == "btrfs":
btrfs = "yes"
if partition["mountPoint"] == "/" and "luksMapperName" in partition: