mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
Use luksMapperName as check.
This commit is contained in:
parent
0b9c9022dd
commit
5ddd0f523b
3 changed files with 3 additions and 3 deletions
|
@ -100,7 +100,7 @@ def create_systemd_boot_conf(uuid, conf_path, kernel_line):
|
|||
if partition["fs"] == "linuxswap":
|
||||
swap_uuid = partition["uuid"]
|
||||
|
||||
if partition["mountPoint"] == "/" and partition["isLuks"]:
|
||||
if partition["mountPoint"] == "/" and "luksMapperName" in partition:
|
||||
cryptdevice_params = [
|
||||
"cryptdevice=UUID={!s}:{!s}".format(partition["luksUuid"],
|
||||
partition["luksMapperName"]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue