Merge pull request #866 from bgilbert/vfat-2023

disk_util: Add -I for mkfs.vfat for 2023
This commit is contained in:
Benjamin Gilbert 2019-02-12 14:19:15 -05:00 committed by GitHub
commit 74627e5683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -420,7 +420,7 @@ def FormatFat(part, device):
vfat_block_size = 1024
vfat_blocks = part['bytes'] // vfat_block_size
cmd = ['mkfs.vfat']
cmd = ['mkfs.vfat', '-I']
if 'fs_label' in part:
cmd += ['-n', part['fs_label']]
if part['type'] == 'efi':