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:
parent
f3b93c1c1c
commit
24964e4865
|
|
@ -407,7 +407,7 @@ class Filesystem():
|
||||||
return self.raw_parted(string).exit_code
|
return self.raw_parted(string).exit_code
|
||||||
|
|
||||||
def use_entire_disk(self, root_filesystem_type='ext4', encrypt_root_partition=True):
|
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_name(0, 'EFI')
|
||||||
self.set(0, 'boot on')
|
self.set(0, 'boot on')
|
||||||
# TODO: Probably redundant because in GPT mode 'esp on' is an alias for "boot on"?
|
# TODO: Probably redundant because in GPT mode 'esp on' is an alias for "boot on"?
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue