summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-06-03 13:18:10 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-06-09 13:08:27 +0900
commita22f5186761a437d8845397bbbfeaf9a7d590ec2 (patch)
tree8e5ea9e7b8bbf339af621d76f57dda2e05149052 /meson_options.txt
parentadf59bffe5fb60319fab107dd33617798894d288 (diff)
downloadsystemd-a22f5186761a437d8845397bbbfeaf9a7d590ec2.tar.gz
meson: Add nspawn-locale meson option
https://github.com/systemd/systemd/pull/23192 caused breakage in Arch Linux's build tooling. Let's give users an opt-out aside from reverting the patch. It's hardly any maintenance work on our side and gives users an easy way to revert the locale change if needed. Of course, by default we still pick C.UTF-8 if the option is not specified.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 6c816abd65..3bb25c6f76 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -302,6 +302,8 @@ option('gshadow', type : 'boolean',
description : 'support for shadow group')
option('default-locale', type : 'string', value : 'C.UTF-8',
description : 'default locale used when /etc/locale.conf does not exist')
+option('nspawn-locale', type : 'string', value : 'C.UTF-8',
+ description : 'default locale used by systemd-nspawn when executing commands in a container')
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',