Skip to contentSkip to conversation

cni: make ca-certificates a packageconfig

PATCH In review Patrick Vogelaar 3 participants 3 messages May 26, 2025 – Jun 5, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 cni: make ca-certificates a packageconfig

Moving ca-certificates into a packageconfig allows using cni without installing all the certificates.

---
 recipes-networking/cni/cni_git.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
recipes-networking/cni/cni_git.bb +3 -2
index b41b47cf..2cdbb169 100644
@@ -89,10 +89,11 @@ do_install() {
     ln -sf ${libexecdir}/cni/ ${D}/opt/cni/bin
 }
 
+PACKAGECONFIG ?= "ca-certs"
+PACKAGECONFIG[ca-certs] = ",,,ca-certificates"
+
 FILES:${PN} += "${libexecdir}/cni/* /opt/cni/bin"
 
 INSANE_SKIP:${PN} += "ldflags already-stripped"
 
 deltask compile_ptest_base
-
-RDEPENDS:${PN} += " ca-certificates"
Signature · 6 lines
2.34.1


**********************************************************************
DISCLAIMER:
Privileged and/or Confidential information may be contained in this message. If you are not the addressee of this message, you may not copy, use or deliver this message to anyone. In such event, you should destroy the message and kindly notify the sender by reply e-mail. It is understood that opinions or conclusions that do not relate to the official business of the company are neither given nor endorsed by the company. Thank You.
#1 lore raw

Something mangled the patch in transit.

I had a reject, but fixed that up.

When I pushed the repo, the author was invalid (the mailing list was referenced), I ammended the author so I could push it.

I know I've sent the instructions on how to fixup a send previously, but can't for the life of me locate them right now.

Bruce

In message: [meta-virtualization][PATCH v2] cni: make ca-certificates a packageconfig

Quoted 43 lines · on 26/05/2025 Patrick Vogelaar via B4 Relay via lists.yoctoproject.org wrote:

Moving ca-certificates into a packageconfig allows using cni without installing all the certificates.

---
 recipes-networking/cni/cni_git.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
recipes-networking/cni/cni_git.bb +3 -2
index b41b47cf..2cdbb169 100644
@@ -89,10 +89,11 @@ do_install() {
     ln -sf ${libexecdir}/cni/ ${D}/opt/cni/bin
 }
 
+PACKAGECONFIG ?= "ca-certs"
+PACKAGECONFIG[ca-certs] = ",,,ca-certificates"
+
 FILES:${PN} += "${libexecdir}/cni/* /opt/cni/bin"
 
 INSANE_SKIP:${PN} += "ldflags already-stripped"
 
 deltask compile_ptest_base
-
-RDEPENDS:${PN} += " ca-certificates"
Signature · 15 lines
2.34.1


**********************************************************************
DISCLAIMER:
Privileged and/or Confidential information may be contained in this message. If you are not the addressee of this message, you may not copy, use or deliver this message to anyone. In such event, you should destroy the message and kindly notify the sender by reply e-mail. It is understood that opinions or conclusions that do not relate to the official business of the company are neither given nor endorsed by the company. Thank You.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9260): https://lists.yoctoproject.org/g/meta-virtualization/message/9260
Mute This Topic: https://lists.yoctoproject.org/mt/113316120/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw
Quoted 11 lines · Bruce Ashfield via lists.yoctoproject.org

Something mangled the patch in transit.

I had a reject, but fixed that up.

When I pushed the repo, the author was invalid (the mailing list was referenced), I ammended the author so I could push it.

I know I've sent the instructions on how to fixup a send previously, but can't for the life of me locate them right now.

https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html#fixing-your-from-identity