diff --git a/src/modules/luksbootkeyfile/main.py b/src/modules/luksbootkeyfile/main.py index 055b14789..17a7fd377 100644 --- a/src/modules/luksbootkeyfile/main.py +++ b/src/modules/luksbootkeyfile/main.py @@ -6,6 +6,7 @@ # Copyright 2016, Teo Mrnjavac # Copyright 2017, Alf Gaida # Copyright 2017, Adriaan de Groot +# Copyright 2017, Philip Mueller # # Calamares is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/src/modules/luksopenswaphookcfg/main.py b/src/modules/luksopenswaphookcfg/main.py index a2bd9c5b1..d448c726f 100644 --- a/src/modules/luksopenswaphookcfg/main.py +++ b/src/modules/luksopenswaphookcfg/main.py @@ -5,6 +5,7 @@ # # Copyright 2016, Teo Mrnjavac # Copyright 2017, Alf Gaida +# Copyright 2017, Philip Mueller # # Calamares is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -29,7 +30,7 @@ def write_openswap_conf(partitions, root_mount_point, openswap_conf_path): mountable_keyfile_device = "" for partition in partitions: - if partition["fs"] == "linuxswap" and "luksMapperName" in partition: + if partition["fs"].lower() == "linuxswap" and "luksMapperName" in partition: swap_outer_uuid = partition["luksUuid"] swap_mapper_name = partition["luksMapperName"]