mirror of https://git.48k.eu/ogclient
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.more_events
parent
621d1b9147
commit
6c441e94e2
|
@ -78,6 +78,9 @@ class OgLiveOperations:
|
||||||
part_setup['code'] = hex(code)[2:]
|
part_setup['code'] = hex(code)[2:]
|
||||||
part_setup['size'] = str(int(size) // 1024)
|
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):
|
def _refresh_part_setup_cache(self, cxt, pa, part_setup, cache):
|
||||||
padev = cxt.partition_to_string(pa, fdisk.FDISK_FIELD_DEVICE)
|
padev = cxt.partition_to_string(pa, fdisk.FDISK_FIELD_DEVICE)
|
||||||
if padev == cache:
|
if padev == cache:
|
||||||
|
|
Loading…
Reference in New Issue