install: format: support FAT32 as boot fs (!1823)

This commit is contained in:
lambdadroid 2019-10-09 20:21:43 +02:00 committed by Oliver Smith
parent 2bc9652231
commit 9ed179594e
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ def format_and_mount_boot(args):
mountpoint)
if filesystem == "fat16":
pmb.chroot.root(args, ["mkfs.fat", "-F", "16", "-n", "pmOS_boot", device])
elif filesystem == "fat32":
pmb.chroot.root(args, ["mkfs.fat", "-F", "32", "-n", "pmOS_boot", device])
elif filesystem == "ext2":
pmb.chroot.root(args, ["mkfs.ext2", "-F", "-q", "-L", "pmOS_boot", device])
else: