From: AshishKumar Mishra Date: Fri, 3 Oct 2025 04:57:39 +0000 (+0530) Subject: systemd: backport fix for handle USE_NLS from master X-Git-Tag: yocto-4.0.31~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b612ae7cbdc8327765c34d0e64fa8e0564891d4;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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 & kirkstone applied the patch manually Signed-off-by: Philip Lorenz Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie Signed-off-by: AshishKumar Mishra Signed-off-by: Steve Sakoman --- diff --git a/meta/recipes-core/systemd/systemd_250.14.bb b/meta/recipes-core/systemd/systemd_250.14.bb index 66d20a46fd..087c0035eb 100644 --- a/meta/recipes-core/systemd/systemd_250.14.bb +++ b/meta/recipes-core/systemd/systemd_250.14.bb @@ -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 \ "