1/2] systemd: backport fix for handle USE_NLS from master
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
@@ -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
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
@@ -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
Re: [kirkstone][PATCH] 2/2] p11-kit: backport fix for handle USE_NLS from master
@ Gyorgy Sarvari :
Good Morning .
Please do consider this patch for merge in Kirkstone If any suggestion / feedback on this , feel free to share . Will work on it accordingly
Have shared the 2 patch changes for same
Thanks ,
Ashish
Re: [kirkstone][PATCH] 2/2] p11-kit: backport fix for handle USE_NLS from master
In reply to AshishKumar MishraSame as for systemd - this should go to the other ML.
Quoted 31 lines · AshishKumar Mishra
From: AshishKumar Mishra <[email protected]>
Disable NLS in the build when
USE_NLSis off.(From OE-Core rev:
b94798ecd535956ef4565663710ea9a701ff21ed)This change corresponds to upstream
eeb3974472429a99a724f324dc8a63e435741f68from master .
Since the p11-kit version are different between master & kirkstone applied the patch manuallySigned-off-by Philip Lorenz <[email protected]>Signed-off-by Mathieu Dubois-Briand <[email protected]>Signed-off-by Richard Purdie <[email protected]>Signed-off-by AshishKumar Mishra <[email protected]>--- 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@@ -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} += " \
Note that systemd is in oe-core, and I am not able to apply it - the correct mailing list for this would be [email protected]
Quoted 30 lines · AshishKumar Mishra
From: AshishKumar Mishra <[email protected]>
Do not build translations when NLS is disabled. (From OE-Core rev:
83795ef6c3fa12a863cd20b7ec1a2607606987b6)This change corresponds to upstream
d848b454e64ffbd642590b4bbc378619e1547ad3from master .
Since the systemd version are different between master & kirkstone applied the patch manuallySigned-off-by Philip Lorenz <[email protected]>Signed-off-by Mathieu Dubois-Briand <[email protected]>Signed-off-by Richard Purdie <[email protected]>Signed-off-by AshishKumar Mishra <[email protected]>--- meta/recipes-core/systemd/systemd_250.14.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-core/systemd/systemd_250.14.bb +1
-0@@ -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 \ "
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