summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/live/ogOperations.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index f0c30bf..b7208f6 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -102,6 +102,9 @@ class OgLiveOperations:
if (part_setup['filesystem'] == 'VFAT'):
part_setup['filesystem'] = 'FAT32'
+ if (part_setup['filesystem'] == 'SWAP'):
+ part_setup['filesystem'] = 'LINUX-SWAP'
+
def _refresh_part_setup_cache(self, cxt, pa, part_setup, cache):
padev = cxt.partition_to_string(pa, fdisk.FDISK_FIELD_DEVICE)
if padev == cache: