Unbreak non-luks install.

This commit is contained in:
Teo Mrnjavac 2016-05-11 16:35:53 +02:00
parent 2c836ffe17
commit ef5a190d5d

View File

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