Fixing minor issue in v2.1.2-rc3. The use_entire_disk() helper function was adding a partition with the format vfat, but parted doesn't understand this and needs fat32.

This commit is contained in:
Anton Hvornum 2021-03-21 11:05:57 +01:00
parent f3b93c1c1c
commit 24964e4865
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ class Filesystem():
return self.raw_parted(string).exit_code
def use_entire_disk(self, root_filesystem_type='ext4', encrypt_root_partition=True):
self.add_partition('primary', start='1MiB', end='513MiB', format='vfat')
self.add_partition('primary', start='1MiB', end='513MiB', format='fat32')
self.set_name(0, 'EFI')
self.set(0, 'boot on')
# TODO: Probably redundant because in GPT mode 'esp on' is an alias for "boot on"?