blob: 0a3a5fd72e39920b6e0992b34bb59211aef0e3d9 [file] [log] [blame]
This folder contains ChromeOS region database.
The database is created in JSON format and available in
/usr/share/misc/cros-regions.json.
Every ChromeOS device should have a "region" VPD entry that can be directly
used as a key in JSON database.
-------------------------------------------------------------------------------
For projects that need to use unpublished regions, please:
1. Browser go/cros-keyboard-request and find table
"Consolidated VPD & region data", and check if your region is confirmed.
(If not, contact OOBE / L10N team to confirm and sign-off).
2. cd ~/trunk/src/private-overlays/chromeos-partner-overlay/chromeos-base
3. cd regions-private/files
4. Edit regions_overlay.py to add correct region data into REGIONS_LIST.
5. Build system and try. You can use tool 'cros_region_data' to verify:
cros_region_data <FIELD> <REGION_TO_TEST>
For example, "cros_region_data description us" gives you "United States".
6. Create the change list and cherry-pick into both factory branches and
release image (including FSI) branches.