summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorPhilip Lorenz <philip.lorenz@bmw.de>2025-08-15 15:04:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-19 09:48:36 +0100
commitd848b454e64ffbd642590b4bbc378619e1547ad3 (patch)
treeab59ee929c8ae0e23f1289bef30988a3c013aee4 /meta/recipes-core/systemd
parent0c1cfdedd5aa72adf0e0074ef0c392a8da34ca96 (diff)
downloadpoky-d848b454e64ffbd642590b4bbc378619e1547ad3.tar.gz
systemd: Handle USE_NLS
Do not build translations when NLS is disabled. (From OE-Core rev: 83795ef6c3fa12a863cd20b7ec1a2607606987b6) Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_257.8.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_257.8.bb b/meta/recipes-core/systemd/systemd_257.8.bb
index adc27f6cff..174372be03 100644
--- a/meta/recipes-core/systemd/systemd_257.8.bb
+++ b/meta/recipes-core/systemd/systemd_257.8.bb
@@ -249,6 +249,7 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \
249 -Dsystem-uid-max=999 \ 249 -Dsystem-uid-max=999 \
250 -Dsystem-alloc-gid-min=101 \ 250 -Dsystem-alloc-gid-min=101 \
251 -Dsystem-gid-max=999 \ 251 -Dsystem-gid-max=999 \
252 -Dtranslations=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'} \
252 ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', '-Ddefault-mdns=no -Ddefault-llmnr=no', '', d)} \ 253 ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', '-Ddefault-mdns=no -Ddefault-llmnr=no', '', d)} \
253 -Ddbus=disabled \ 254 -Ddbus=disabled \
254 " 255 "