pmb: install: add options for default charset in vfat /boot partitions (MR 2304)

linux-lts and linux-edge in alpine use "utf-8", that might change, but
add the options regardless, so we can be safe (people can always edit them!)

Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/2782
[ci:skip-build]: already built successfully in CI
This commit is contained in:
Pablo Correa Gómez 2024-05-01 18:23:24 +02:00 committed by Clayton Craft
parent 93a9cea50f
commit a5575a28f9
No known key found for this signature in database
GPG Key ID: 4A4CED6D7EDF950A
1 changed files with 1 additions and 1 deletions

View File

@ -784,7 +784,7 @@ def create_fstab(args, layout, suffix):
boot_filesystem = args.deviceinfo["boot_filesystem"] or "ext2"
if boot_filesystem in ("fat16", "fat32"):
boot_filesystem = "vfat"
boot_options += ",umask=0077,nosymfollow"
boot_options += ",umask=0077,nosymfollow,codepage=437,iocharset=ascii"
root_filesystem = pmb.install.get_root_filesystem(args)
if root_filesystem == "btrfs":