Skip to contentSkip to conversation

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

PATCH In review AshishKumar Mishra 2 participants 7 messages Oct 3, 2025 – Oct 13, 2025

lore
Share & tools
lore
#0 lore raw

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

From: AshishKumar Mishra <[email protected]>

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

---
 meta/recipes-core/systemd/systemd_250.14.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd_250.14.bb +1 -0
index 66d20a46fd..087c0035eb 100644
@@ -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 \
                   "
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/1 2/2] p11-kit: backport fix for handle USE_NLS from master

From: AshishKumar Mishra <[email protected]>

Disable NLS in the build when USE_NLS is off.

(From OE-Core rev: b94798ecd535956ef4565663710ea9a701ff21ed)

This change corresponds to upstream eeb3974472429a99a724f324dc8a63e435741f68 from master .
Since the p11-kit version are different between master & kirkstone applied the patch manually

---
 meta/recipes-support/p11-kit/p11-kit_0.24.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/p11-kit/p11-kit_0.24.1.bb +1 -0
index 72b446204a..62aca0cfee 100644
@@ -18,6 +18,7 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native"
 PACKAGECONFIG[trust-paths] = "-Dtrust_paths=/etc/ssl/certs/ca-certificates.crt,,,ca-certificates"
 
+EXTRA_OEMESON:append = " -Dnls=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'}"
 GTKDOC_MESON_OPTION = 'gtk_doc'
 
 FILES:${PN} += " \
Signature · 1 line
2.43.0
#2 lore raw

Re: [kirkstone][PATCH] 2/2] p11-kit: backport fix for handle USE_NLS from master

Hi Gyorgy Sarvari,

Good morning.

Would request to please consider this patch for merge. If you have any feedback / suggestion, please feel free to share. I will work accordingly.

Thanks,
Ashish

#3 lore raw

Re: [kirkstone][PATCH] 2/2] p11-kit: backport fix for handle USE_NLS from master

Hi Gyorgy ,

Good Morning.
Would request to please consider this patch for merge. If any feedback / suggestion , i can rework accordingly.

Thanks ,
Ashish

#4 lore raw
In reply to AshishKumar Mishra

Hi Gyorgy Sarvari,

Good morning.

Would request to please consider this patch for merge. If you have any feedback / suggestion, please feel free to share. I will work accordingly.

Thanks ,
Ashish

#5 lore raw

Hi Gyorgy Sarvari,

Good morning.

Would request to please consider this patch for merge. If you have any feedback / suggestion, please feel free to share. I will work accordingly.

Thanks,
Ashish

#6 lore raw

Note that the maintainer of all stable openembedded-core branches is Steve Sakoman.
Your patch is part of his staging branch[1] already, and chances are that it will be included in the next release.

[1]:
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut

Quoted 19 lines · Ashish Mishra via lists.openembedded.org

Hi Gyorgy Sarvari,

Good morning.

Would request to please consider this patch for merge. If you have any feedback / suggestion, please feel free to share. I will work accordingly.

Thanks,
Ashish

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#224755): https://lists.openembedded.org/g/openembedded-core/message/224755
Mute This Topic: https://lists.openembedded.org/mt/115565555/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-