diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-07-12 13:38:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-07-14 11:05:34 +0200 |
commit | a7d9fccd0e15bed540bed897569d8d9e00f09125 (patch) | |
tree | 0bab0c1a9cebdc76a09d3f4cf0fbb6dc86d2bb1f /docs | |
parent | locale-util: normalize UTF-8 locale names (diff) | |
download | systemd-a7d9fccd0e15bed540bed897569d8d9e00f09125.tar.xz systemd-a7d9fccd0e15bed540bed897569d8d9e00f09125.zip |
locale-util: suppress non-UTF-8 locales when enumerating them
Let's hide non-UTF-8 locales by default. It's 2019 after all.
Let's add an undocumented env var to reenable listing them though.
This should substantially shorten the list of choices we offer users,
and only show realistic choices.
note that only firstboot and localectl make use of this information, and
both allow configuration of values outside of these lists, hence all
this change does is hide legacy options, but they are still available if
you know what you do, and that's how it should be.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ENVIRONMENT.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md index e81eaf2a35..838cc7e4cf 100644 --- a/docs/ENVIRONMENT.md +++ b/docs/ENVIRONMENT.md @@ -222,3 +222,9 @@ systemd-remount-fs: directory is remounted writable. This is primarily used by systemd-gpt-auto-generator to ensure the root partition is mounted writable in accordance to the GPT partition flags. + +systemd-firstboot and localectl: + +* `SYSTEMD_LIST_NON_UTF8_LOCALES=1` – if set non-UTF-8 locales are listed among + the installed ones. By default non-UTF-8 locales are suppressed from the + selection, since we are living in the 21st century. |