From 26b1c349d3e1d6daf3f1ee55596fd170be5962cc Mon Sep 17 00:00:00 2001 From: Chrysostomus Date: Wed, 4 Nov 2020 19:27:59 +0200 Subject: [PATCH] Set default value inside the relevant function --- src/modules/openrcdmcryptcfg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/openrcdmcryptcfg/main.py b/src/modules/openrcdmcryptcfg/main.py index efcf3eaed..2aa61b1c7 100644 --- a/src/modules/openrcdmcryptcfg/main.py +++ b/src/modules/openrcdmcryptcfg/main.py @@ -20,7 +20,6 @@ _ = gettext.translation("calamares-python", languages=libcalamares.utils.gettext_languages(), fallback=True).gettext -unencrypted_separate_boot = False for partition in partitions: if (partition["mountPoint"] == "/boot" @@ -34,6 +33,7 @@ def pretty_name(): def write_dmcrypt_conf(partitions, root_mount_point, dmcrypt_conf_path): crypto_target = "" crypto_source = "" + unencrypted_separate_boot = False for partition in partitions: has_luks = "luksMapperName" in partition