mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
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:
parent
7c3e545769
commit
fdf8cc2cda
@ -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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user