mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
Revert "disk_util: use FAT32 on ESP"
This reverts commit 7f058d61a1
.
Reverting because of bug 2284 [1] where grub will sometimes fail due to
memory corruption. This is _not_ the cause of the bug, and the bug can
even be reproduced with this reversion, but it seems to occur less when
not using fat32.
[1] https://github.com/coreos/bugs/issues/2284
This commit is contained in:
parent
7ab2b63f09
commit
299f8fb3d1
@ -423,9 +423,6 @@ 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…
Reference in New Issue
Block a user