summaryrefslogtreecommitdiff
path: root/app-admin/calamares/files/calamares-3.1.1-luks-fstab-write-devmapper.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-18 19:23:58 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-18 19:23:58 +0000
commitf25251d1fd7fa3444cb20ab88f65633921c726f3 (patch)
tree6320cac8850625e5c160b08753531fbc26a8394a /app-admin/calamares/files/calamares-3.1.1-luks-fstab-write-devmapper.patch
parent441657a7d6e5d51c7de976f0368c7275b014167a (diff)
app-admin/calamares : version bump
Diffstat (limited to 'app-admin/calamares/files/calamares-3.1.1-luks-fstab-write-devmapper.patch')
-rw-r--r--app-admin/calamares/files/calamares-3.1.1-luks-fstab-write-devmapper.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/app-admin/calamares/files/calamares-3.1.1-luks-fstab-write-devmapper.patch b/app-admin/calamares/files/calamares-3.1.1-luks-fstab-write-devmapper.patch
deleted file mode 100644
index 6b6845d8..00000000
--- a/app-admin/calamares/files/calamares-3.1.1-luks-fstab-write-devmapper.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Nur a/src/modules/fstab/main.py b/src/modules/fstab/main.py
---- a/src/modules/fstab/main.py 2016-11-25 17:38:49.000000000 +0000
-+++ b/src/modules/fstab/main.py 2017-06-02 15:46:38.124863165 +0100
-@@ -257,12 +257,20 @@
- check=check,
- )
-
-- return dict(device="UUID=" + partition["uuid"],
-- mount_point=mount_point or "swap",
-- fs=filesystem,
-- options=options,
-- 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,
-+ options=options,
-+ check=check,
-+ )
-
- def print_fstab_line(self, dct, file=None):
- """ Prints line to '/etc/fstab' file. """