diff options
author | Matthias Klumpp <matthias@tenstral.net> | 2021-01-08 23:59:38 +0100 |
---|---|---|
committer | Matthias Klumpp <matthias@tenstral.net> | 2021-01-12 23:15:12 +0100 |
commit | 8f20232fcb52dbe6255f3df6101fc057af90bcfa (patch) | |
tree | ea0fc53090f6b2bc14e1a72a93ef3e24a2bd37d9 /meson_options.txt | |
parent | bd47b0dac4a1ff6e686c99b9958693e86d44007b (diff) | |
download | systemd-8f20232fcb52dbe6255f3df6101fc057af90bcfa.tar.gz |
localed: Run locale-gen if available to generate missing locale
This change improves integration with distributions using locale-gen to
generate missing locale on-demand, like Debian-based distributions
(Debian/Ubuntu/PureOS/Tanglu/...) and Arch Linux.
We only ever enable new locales for generation, and never disable them.
Furthermore, we only generate UTF-8 locale.
This feature is only used if explicitly enabled at compile-time, and
will also be inert at runtime if the locale-gen binary is missing.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index d1096655dc..2704f65baa 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -240,6 +240,8 @@ option('gshadow', type : 'boolean', description : 'support for shadow group') option('default-locale', type : 'string', value : '', description : 'default locale used when /etc/locale.conf does not exist') +option('localegen-path', type : 'string', value : '', + description : 'absolute path to the locale-gen binary in case the system is using locale-gen') option('service-watchdog', type : 'string', value : '3min', description : 'default watchdog setting for systemd services') |