mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
Proper check for luksMapperName key.
This commit is contained in:
parent
b792ea0216
commit
e1ee6e181a
3 changed files with 4 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["luksMapperName"]:
|
||||
if partition["mountPoint"] == "/" and "luksMapperName" in partition:
|
||||
cryptdevice_params = [
|
||||
"cryptdevice=UUID={!s}:{!s}".format(partition["uuid"],
|
||||
partition["luksMapperName"]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue