Unbreak non-luks install.
This commit is contained in:
parent
2c836ffe17
commit
ef5a190d5d
@ -106,7 +106,7 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
|
||||
if partition["fs"] == "btrfs":
|
||||
btrfs = "yes"
|
||||
|
||||
if partition["mountPoint"] == "/" and partition["luksMapperName"]:
|
||||
if partition["mountPoint"] == "/" and "luksMapperName" in partition:
|
||||
encrypt_hook = True
|
||||
|
||||
if encrypt_hook:
|
||||
|
Loading…
Reference in New Issue
Block a user