mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
Fix syntax errors
This commit is contained in:
parent
567b01eab0
commit
ff9f47ec83
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
|||
swap_outer_uuid = ""
|
||||
swap_outer_mappername = None
|
||||
no_save_default = False
|
||||
unencrypted_separate_boot = any(p["mountPoint"] == "/boot" and "luksMapperName" not in p for p in partitions):
|
||||
unencrypted_separate_boot = any(p["mountPoint"] == "/boot" and "luksMapperName" not in p for p in partitions)
|
||||
|
||||
for partition in partitions:
|
||||
if partition["mountPoint"] in ("/", "/boot") and partition["fs"] in ("btrfs", "f2fs"):
|
||||
|
|
|
@ -29,7 +29,7 @@ def pretty_name():
|
|||
def write_dmcrypt_conf(partitions, root_mount_point, dmcrypt_conf_path):
|
||||
crypto_target = ""
|
||||
crypto_source = ""
|
||||
unencrypted_separate_boot = any(p["mountPoint"] == "/boot" and "luksMapperName" not in p for p in partitions):
|
||||
unencrypted_separate_boot = any(p["mountPoint"] == "/boot" and "luksMapperName" not in p for p in partitions)
|
||||
|
||||
for partition in partitions:
|
||||
has_luks = "luksMapperName" in partition
|
||||
|
|
Loading…
Add table
Reference in a new issue