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
6fba81ca0d
commit
2f7ac598a3
@ -262,6 +262,14 @@ class FstabGenerator(object):
|
||||
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"],
|
||||
mount_point=mount_point or "swap",
|
||||
fs=filesystem,
|
||||
|
Loading…
Reference in New Issue
Block a user