feat: accept ISO country codes for --region

jp, us, kr and gb were aliases but au was unknown, and the first
spelling offered for it was auto, which means world. Every territory
of the region tree now answers to its ISO 3166-1 code, in the build
scripts and in the installer, whose SHA-256 is pinned again.
This commit is contained in:
Abdessamad Derraz committed 2026-10-21 10:12:07 +02:00
1 parent 4e41fad9b6
commit 10dc9a11ac
6 files changed
+74 -5

No files matched your search

+3 -2
View File
@@ -76,8 +76,9 @@ fall back to Japan. It does not mean "keep all three": when a US BIOS exists for
a system, the European and Japanese ones are dropped.
Accepted names are territory slugs (`japan`, `north-america`, `europe`,
`south-korea`, `taiwan`, `brazil`, `france`...) plus short aliases (`jp`, `us`,
`eu`, `kr`) and the signal spellings (`ntsc-j`, `ntsc-u`, `pal`). Territories
`south-korea`, `taiwan`, `brazil`, `france`...) plus short aliases (`us`, `eu`,
and the ISO 3166 code of each territory: `jp`, `kr`, `au`, `br`, `fr`...) and
the signal spellings (`ntsc-j`, `ntsc-u`, `pal`). Territories
nest, so `--region europe` keeps a BIOS declared `[france]`, and `--region france`
keeps one declared `[europe]`.