Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #806 from bgilbert/fat32
Browse files Browse the repository at this point in the history
Revert "Revert "disk_util: use FAT32 on ESP""
  • Loading branch information
bgilbert authored Apr 13, 2018
2 parents 7c3e545 + fdf8cc2 commit 2ea6fc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build_library/disk_util
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 2ea6fc0

Please sign in to comment.