mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 02:45:37 -04:00
Better list init.
This commit is contained in:
parent
cc792d03a6
commit
105c8990eb
1 changed files with 5 additions and 2 deletions
|
@ -51,8 +51,11 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
|||
swap_uuid = partition["uuid"]
|
||||
|
||||
if partition["mountPoint"] == "/" and partition["luksMapperName"]:
|
||||
cryptdevice_params = ["cryptdevice=UUID={!s}:{!s}".format(partition["uuid"], partition["luksMapperName"])]
|
||||
cryptdevice_params.append("root=/dev/mapper/{!s}".format(partition["luksMapperName"]))
|
||||
cryptdevice_params = [
|
||||
"cryptdevice=UUID={!s}:{!s}".format(partition["uuid"],
|
||||
partition["luksMapperName"]),
|
||||
"root=/dev/mapper/{!s}".format(partition["luksMapperName"])
|
||||
]
|
||||
|
||||
kernel_params = ["quiet"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue