Revert "Revert "disk_util: use FAT32 on ESP""

FAT32 seemed to aggravate https://github.com/coreos/bugs/issues/2284, but
now that that issue has been addressed, we can return to the correct
filesystem type.

This reverts commit 299f8fb3d10f00b46990bc582b2ba950d8408f11.
This commit is contained in:
Benjamin Gilbert 2018-04-12 17:00:28 -04:00
parent 7c3e545769
commit fdf8cc2cda

View File

@ -423,6 +423,9 @@ def FormatFat(part, device):
cmd = ['mkfs.vfat']
if 'fs_label' in part:
cmd += ['-n', part['fs_label']]
if part['type'] == 'efi':
# ESP is FAT32 irrespective of size
cmd += ['-F', '32']
Sudo(cmd + [device, vfat_blocks], stdout_null=True)