|
|
@ -90,9 +90,7 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
|
|
|
swap_outer_uuid = ""
|
|
|
|
swap_outer_uuid = ""
|
|
|
|
swap_outer_mappername = None
|
|
|
|
swap_outer_mappername = None
|
|
|
|
no_save_default = False
|
|
|
|
no_save_default = False
|
|
|
|
unencrypted_separate_boot = False
|
|
|
|
unencrypted_separate_boot = any(p["mountPoint"] == "/boot" and "luksMapperName" not in p for p in partitions):
|
|
|
|
if any(partition["mountPoint"] == "/boot" and "luksMapperName" not in partition for partition in partitions):
|
|
|
|
|
|
|
|
unencrypted_separate_boot = True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for partition in partitions:
|
|
|
|
for partition in partitions:
|
|
|
|
if partition["mountPoint"] in ("/", "/boot") and partition["fs"] in ("btrfs", "f2fs"):
|
|
|
|
if partition["mountPoint"] in ("/", "/boot") and partition["fs"] in ("btrfs", "f2fs"):
|
|
|
|