diff options
author | AshishKumar Mishra <emailaddress.ashish@gmail.com> | 2025-09-18 21:18:37 +0530 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-09-30 08:01:59 -0700 |
commit | b418221cab33a79bb6f3b9b1501a0a8afa92ce45 (patch) | |
tree | d10205bee1e2f5fecd8919b7f304e71880b6a5f9 | |
parent | e753480a0540df86cba94b04824aa9d9e7fe3932 (diff) | |
download | poky-b418221cab33a79bb6f3b9b1501a0a8afa92ce45.tar.gz |
systemd: backport fix for handle USE_NLS from master
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 & scarthgap
applied the patch manually
(From OE-Core rev: 780b902a0fd124420f00ee5e55f4fd362d2d8913)
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>
-rw-r--r-- | meta/recipes-core/systemd/systemd_255.21.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_255.21.bb b/meta/recipes-core/systemd/systemd_255.21.bb index e866f9921b..87e186bbfa 100644 --- a/meta/recipes-core/systemd/systemd_255.21.bb +++ b/meta/recipes-core/systemd/systemd_255.21.bb | |||
@@ -247,6 +247,7 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \ | |||
247 | -Dmode=release \ | 247 | -Dmode=release \ |
248 | -Dsystem-alloc-uid-min=101 \ | 248 | -Dsystem-alloc-uid-min=101 \ |
249 | -Dsystem-uid-max=999 \ | 249 | -Dsystem-uid-max=999 \ |
250 | -Dtranslations=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'} \ | ||
250 | -Dsystem-alloc-gid-min=101 \ | 251 | -Dsystem-alloc-gid-min=101 \ |
251 | -Dsystem-gid-max=999 \ | 252 | -Dsystem-gid-max=999 \ |
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)} \ |