]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
systemd: backport fix for handle USE_NLS from master
authorAshishKumar Mishra <emailaddress.ashish@gmail.com>
Fri, 3 Oct 2025 04:57:39 +0000 (10:27 +0530)
committerSteve Sakoman <steve@sakoman.com>
Thu, 9 Oct 2025 14:35:42 +0000 (07:35 -0700)
Do not build translations when NLS is disabled.
(From OE-Core rev: 83795ef6c3fa12a863cd20b7ec1a2607606987b6)

This change corresponds to upstream d848b454e64ffbd642590b4bbc378619e1547ad3
from master .
Since the systemd version are different between master & kirkstone
applied the patch manually

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>
Signed-off-by: AshishKumar Mishra <emailaddress.ashish@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/systemd/systemd_250.14.bb

index 66d20a46fd1c79328ea543e2289eda2b47c86885..087c0035ebaacf5892dafe51dacefc604bd9cfc6 100644 (file)
@@ -235,6 +235,7 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \
                   -Dmode=release \
                   -Dsystem-alloc-uid-min=101 \
                   -Dsystem-uid-max=999 \
+                  -Dtranslations=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'} \
                   -Dsystem-alloc-gid-min=101 \
                   -Dsystem-gid-max=999 \
                   "