diff --git a/src/modules/bootloader/main.py b/src/modules/bootloader/main.py index c2cdc1108..1d6dfa824 100644 --- a/src/modules/bootloader/main.py +++ b/src/modules/bootloader/main.py @@ -8,7 +8,7 @@ # Copyright 2014, Daniel Hillenbrand # Copyright 2014, Benjamin Vaudour # Copyright 2014, Kevin Kofler -# Copyright 2015, Philip Mueller +# Copyright 2015-2017, Philip Mueller # Copyright 2016-2017, Teo Mrnjavac # Copyright 2017, Alf Gaida # Copyright 2017, Adriaan de Groot @@ -111,7 +111,7 @@ def create_systemd_boot_conf(uuid, conf_path, kernel_line): # - encrypted root sets cryptdevice_params for partition in partitions: has_luks = "luksMapperName" in partition - if partition["fs"] == "linuxswap" and not has_luks: + if partition["fs"].lower() == "linuxswap" and not has_luks: swap_uuid = partition["uuid"] if partition["mountPoint"] == "/" and has_luks: