pmb: install: allow to mount fat{16,32} /boot from /etc/fstab (MR 2304)

The "fat16" and "fat32" mount types do not exist. It is "vfat"
This commit is contained in:
Pablo Correa Gómez 2024-04-30 21:27:24 +02:00 committed by Clayton Craft
parent 70a5e6ebf7
commit d6b9ffbc78
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A

View file

@ -781,6 +781,8 @@ def create_fstab(args, layout, suffix):
else f"UUID={get_uuid(args, root_dev)}"
boot_filesystem = args.deviceinfo["boot_filesystem"] or "ext2"
if boot_filesystem in ("fat16", "fat32"):
boot_filesystem = "vfat"
root_filesystem = pmb.install.get_root_filesystem(args)
if root_filesystem == "btrfs":