mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
commit
e3677bf8d0
@ -420,7 +420,7 @@ def FormatFat(part, device):
|
|||||||
vfat_block_size = 1024
|
vfat_block_size = 1024
|
||||||
vfat_blocks = part['bytes'] // vfat_block_size
|
vfat_blocks = part['bytes'] // vfat_block_size
|
||||||
|
|
||||||
cmd = ['mkfs.vfat']
|
cmd = ['mkfs.vfat', '-I']
|
||||||
if 'fs_label' in part:
|
if 'fs_label' in part:
|
||||||
cmd += ['-n', part['fs_label']]
|
cmd += ['-n', part['fs_label']]
|
||||||
if part['type'] == 'efi':
|
if part['type'] == 'efi':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user