diff options
author | Christian Hesse <mail@eworm.de> | 2021-03-28 13:00:49 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-03-29 12:33:36 +0200 |
commit | 46cfe8f50db6d15a00384cc422f1f9d068207238 (patch) | |
tree | bad15d85401efe46a74ae00b4059aae811a0043c /meson.build | |
parent | sd-bus: set retain attribute on BUS_ERROR_MAP_ELF_REGISTER (diff) | |
download | systemd-46cfe8f50db6d15a00384cc422f1f9d068207238.tar.xz systemd-46cfe8f50db6d15a00384cc422f1f9d068207238.zip |
units: make locale directory writable for systemd-localed
With 8f20232fcb52dbe6255f3df6101fc057af90bcfa systemd-localed supports
generating locales when required. This fails if the locale directory is
read-only, so make it writable.
Closes #19138
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build index f41a811e2e..6a474afdac 100644 --- a/meson.build +++ b/meson.build @@ -857,10 +857,13 @@ conf.set_quoted('SYSTEMD_DEFAULT_LOCALE', default_locale) localegen_path = get_option('localegen-path') have = false +writable = '' if localegen_path != '' conf.set_quoted('LOCALEGEN_PATH', localegen_path) have = true + writable = ' /usr/lib/locale' endif +substs.set('SERVICE_LOCALEGEN_WRITABLE', writable) conf.set10('HAVE_LOCALEGEN', have) conf.set_quoted('GETTEXT_PACKAGE', meson.project_name()) |