diff mbox series

[kirkstone] 1/2] systemd: backport fix for handle USE_NLS from master

Message ID 20250926164850.40701-1-emailaddress.ashish@gmail.com
State New
Headers show
Series [kirkstone] 1/2] systemd: backport fix for handle USE_NLS from master | expand

Commit Message

Ashish Mishra Sept. 26, 2025, 4:48 p.m. UTC
From: AshishKumar Mishra <emailaddress.ashish@gmail.com>

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>
---
 meta/recipes-core/systemd/systemd_250.14.bb | 1 +
 1 file changed, 1 insertion(+)

Comments

Gyorgy Sarvari Oct. 1, 2025, 1:25 p.m. UTC | #1
Note that systemd is in oe-core, and I am not able to apply it - the
correct mailing list for this would be
openembedded-core@lists.openembedded.org

On 9/26/25 18:48, AshishKumar Mishra wrote:
> From: AshishKumar Mishra <emailaddress.ashish@gmail.com>
>
> 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>
> ---
>  meta/recipes-core/systemd/systemd_250.14.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> 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 \
>                    "
Ashish Mishra Oct. 3, 2025, 4:59 a.m. UTC | #2
Gyorgy Sarvari ,
Thanks for feedback , Apologies for mistake .
Have re-shared the patches
https://lists.openembedded.org/g/openembedded-core/topic/kirkstone_patch_1_2/115565555
https://lists.openembedded.org/g/openembedded-core/topic/kirkstone_patch_2_2/115565556
diff mbox series

Patch

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 \
                   "