mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
Merge pull request #779 from ajeddeloh/revert-fat32
Revert "disk_util: use FAT32 on ESP"
This commit is contained in:
commit
f22d5bed00
@ -423,9 +423,6 @@ def FormatFat(part, device):
|
|||||||
cmd = ['mkfs.vfat']
|
cmd = ['mkfs.vfat']
|
||||||
if 'fs_label' in part:
|
if 'fs_label' in part:
|
||||||
cmd += ['-n', part['fs_label']]
|
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)
|
Sudo(cmd + [device, vfat_blocks], stdout_null=True)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user