Allow selection of which locales to generate
Defaults is en_GB.UTF-8 UTF-8 which is the backwards-compatible behaviour. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
This commit is contained in:
parent
f8f3d6fe93
commit
8d35dcaf39
|
@ -82,6 +82,13 @@ The following environment variables are supported:
|
||||||
|
|
||||||
Default system locale.
|
Default system locale.
|
||||||
|
|
||||||
|
* `LOCALE_GEN_DEFAULT` (Default: "en_GB.UTF-8 UTF-8" )
|
||||||
|
|
||||||
|
List of locales to generate each separated by a comma and a space (in that
|
||||||
|
order). Note a locale is typically of the form
|
||||||
|
`<lang>_<COUNTRY>.<encoding> <encoding>` (e.g. `en_GB.UTF-8 UTF-8`).
|
||||||
|
See `stage0/01-locale/00-debconf` for a list of available locales.
|
||||||
|
|
||||||
* `HOSTNAME` (Default: "raspberrypi" )
|
* `HOSTNAME` (Default: "raspberrypi" )
|
||||||
|
|
||||||
Setting the hostname to the specified value.
|
Setting the hostname to the specified value.
|
||||||
|
@ -283,7 +290,7 @@ maintenance and allows for more easy customization.
|
||||||
|
|
||||||
- **Stage 5** - The Raspbian Full image. More development
|
- **Stage 5** - The Raspbian Full image. More development
|
||||||
tools, an email client, learning tools like Scratch, specialized packages
|
tools, an email client, learning tools like Scratch, specialized packages
|
||||||
like sonic-pi, office productivity, etc.
|
like sonic-pi, office productivity, etc.
|
||||||
|
|
||||||
### Stage specification
|
### Stage specification
|
||||||
|
|
||||||
|
|
3
build.sh
3
build.sh
|
@ -172,6 +172,9 @@ export WPA_COUNTRY
|
||||||
export ENABLE_SSH="${ENABLE_SSH:-0}"
|
export ENABLE_SSH="${ENABLE_SSH:-0}"
|
||||||
|
|
||||||
export LOCALE_DEFAULT="${LOCALE_DEFAULT:-en_GB.UTF-8}"
|
export LOCALE_DEFAULT="${LOCALE_DEFAULT:-en_GB.UTF-8}"
|
||||||
|
# LOCALE_GEN_DEFAULT is a list of locales to generate separated by comma and
|
||||||
|
# space)
|
||||||
|
export LOCALE_GEN_DEFAULT="${LOCALE_GEN_DEFAULT:-en_GB.UTF-8 UTF-8}"
|
||||||
|
|
||||||
export KEYBOARD_KEYMAP="${KEYBOARD_KEYMAP:-gb}"
|
export KEYBOARD_KEYMAP="${KEYBOARD_KEYMAP:-gb}"
|
||||||
export KEYBOARD_LAYOUT="${KEYBOARD_LAYOUT:-English (UK)}"
|
export KEYBOARD_LAYOUT="${KEYBOARD_LAYOUT:-English (UK)}"
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user