From 6c441e94e25ed544daf0e010288e0444c9000188 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Fri, 13 May 2022 14:35:34 +0200 Subject: 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. --- src/live/ogOperations.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/live') 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: -- cgit v1.2.3-18-g5258