[luksbootkeyfile] work on #797 and #796

This commit is contained in:
Philip 2017-09-12 05:08:56 -04:00
parent 82c0321122
commit 6c00ce7e30

View File

@ -46,7 +46,7 @@ def run():
luks_root_device = partition["device"]
luks_root_passphrase = partition["luksPassphrase"]
elif "luksMapperName" in partition and\
(partition["mountPoint"] or partition["fs"] == "linuxswap"):
(partition["mountPoint"] or partition["fs"].lower() == "linuxswap"):
additional_luks_devices.append((partition["device"],
partition["luksPassphrase"]))