Fixup: format ESP
This commit is contained in:
parent
6167ef22c5
commit
37f90009be
@ -208,7 +208,7 @@ def main(*, disk=None, part=None, wim=None, iso=None, image_name=None, unattend=
|
||||
part = part_path(dev, 1)
|
||||
if efi and not postproc_only: # format ESP
|
||||
esp = part_path(dev, 2)
|
||||
cmd = ['mkfs.fat', '-F32', str(esp)]
|
||||
subprocess.run(['mkfs.fat', '-F32', '-n', 'ESP', str(esp)], check=True)
|
||||
setup_part(part, wim, image_name, unattend=unattend, postproc=postproc, postproc_only=postproc_only)
|
||||
else:
|
||||
setup_part(part, unattend=unattend, postproc=postproc, postproc_only=postproc_only)
|
||||
|
Loading…
Reference in New Issue
Block a user