mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
Set default value inside the relevant function
This commit is contained in:
parent
fe291bc51a
commit
26b1c349d3
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,6 @@ _ = gettext.translation("calamares-python",
|
||||||
languages=libcalamares.utils.gettext_languages(),
|
languages=libcalamares.utils.gettext_languages(),
|
||||||
fallback=True).gettext
|
fallback=True).gettext
|
||||||
|
|
||||||
unencrypted_separate_boot = False
|
|
||||||
|
|
||||||
for partition in partitions:
|
for partition in partitions:
|
||||||
if (partition["mountPoint"] == "/boot"
|
if (partition["mountPoint"] == "/boot"
|
||||||
|
@ -34,6 +33,7 @@ def pretty_name():
|
||||||
def write_dmcrypt_conf(partitions, root_mount_point, dmcrypt_conf_path):
|
def write_dmcrypt_conf(partitions, root_mount_point, dmcrypt_conf_path):
|
||||||
crypto_target = ""
|
crypto_target = ""
|
||||||
crypto_source = ""
|
crypto_source = ""
|
||||||
|
unencrypted_separate_boot = False
|
||||||
|
|
||||||
for partition in partitions:
|
for partition in partitions:
|
||||||
has_luks = "luksMapperName" in partition
|
has_luks = "luksMapperName" in partition
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue