Skip to contentSkip to conversation

systemd: backport fix for handle USE_NLS from master

PATCH In review AshishKumar Mishra 1 participant 4 messages Sep 18, 2025 – Oct 13, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 & scarthgap applied the patch manually

---
 meta/recipes-core/systemd/systemd_255.21.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd_255.21.bb +1 -0
index e866f9921b..87e186bbfa 100644
@@ -247,6 +247,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 \
                   ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', '-Ddefault-mdns=no -Ddefault-llmnr=no', '', d)} \
Signature · 1 line
2.43.0
#1 lore raw

Hi Team ,
Any feedback on this or if any suggestion

Thanks ,
Ashish

#2 lore raw

Hi Anuj,

Good morning.
These are backported patches from master.
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

Hi Anuj ,

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

Thanks ,
Ashish