Apply patch from V3n3RiX.
https://gitlab.com/redcore/redcore-desktop/raw/master/app-admin/calamares/files/calamares-3.1.1-luks-fstab-write-devmapper.patch Fixes #772
This commit is contained in:
parent
b22bd67a5f
commit
47dcbefe2c
@ -262,6 +262,14 @@ class FstabGenerator(object):
|
|||||||
check=check,
|
check=check,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if "luksMapperName" in partition:
|
||||||
|
return dict(device="/dev/mapper/" + partition["luksMapperName"],
|
||||||
|
mount_point=mount_point or "swap",
|
||||||
|
fs=filesystem,
|
||||||
|
options=options,
|
||||||
|
check=check,
|
||||||
|
)
|
||||||
|
else:
|
||||||
return dict(device="UUID=" + partition["uuid"],
|
return dict(device="UUID=" + partition["uuid"],
|
||||||
mount_point=mount_point or "swap",
|
mount_point=mount_point or "swap",
|
||||||
fs=filesystem,
|
fs=filesystem,
|
||||||
|
Loading…
Reference in New Issue
Block a user