summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-05-13 14:35:34 +0200
committerJose M. Guisado <jguisado@soleta.eu>2022-06-01 11:48:30 +0200
commit6c441e94e25ed544daf0e010288e0444c9000188 (patch)
tree1ab8f32c0ad77cc08d50ba2fe9e5d7655e633a77
parent621d1b9147a0b52cb133fe856b3a13b67711ea57 (diff)
live: assume VFAT is always FAT32
fdisk reports VFAT, however, OpenGnsys does not have such entry in the filesystem table. Add an alias to FAT32 as a workaround.
-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 853d661..d9c3740 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -78,6 +78,9 @@ class OgLiveOperations:
part_setup['code'] = hex(code)[2:]
part_setup['size'] = str(int(size) // 1024)
+ if (part_setup['filesystem'] == 'VFAT'):
+ part_setup['filesystem'] = 'FAT32'
+
def _refresh_part_setup_cache(self, cxt, pa, part_setup, cache):
padev = cxt.partition_to_string(pa, fdisk.FDISK_FIELD_DEVICE)
if padev == cache: