Merge pull request #865 from bgilbert/vfat-1967

disk_util: Add -I for mkfs.vfat for 1967
This commit is contained in:
Benjamin Gilbert 2019-02-12 14:19:20 -05:00 committed by GitHub
commit 15da499e16
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':