forked from Mirror/pmbootstrap
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:
parent
93a9cea50f
commit
a5575a28f9
1 changed files with 1 additions and 1 deletions
|
@ -784,7 +784,7 @@ def create_fstab(args, layout, suffix):
|
||||||
boot_filesystem = args.deviceinfo["boot_filesystem"] or "ext2"
|
boot_filesystem = args.deviceinfo["boot_filesystem"] or "ext2"
|
||||||
if boot_filesystem in ("fat16", "fat32"):
|
if boot_filesystem in ("fat16", "fat32"):
|
||||||
boot_filesystem = "vfat"
|
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)
|
root_filesystem = pmb.install.get_root_filesystem(args)
|
||||||
|
|
||||||
if root_filesystem == "btrfs":
|
if root_filesystem == "btrfs":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue