All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH v2] cni: make ca-certificates a packageconfig
@ 2025-05-26 21:07 Patrick Vogelaar
  2025-06-05  2:34 ` Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Vogelaar @ 2025-05-26 21:07 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Patrick Vogelaar

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

Signed-off-by: Patrick Vogelaar <patrick.vogelaar@belden.com>
---
 recipes-networking/cni/cni_git.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes-networking/cni/cni_git.bb b/recipes-networking/cni/cni_git.bb
index b41b47cf..2cdbb169 100644
--- a/recipes-networking/cni/cni_git.bb
+++ b/recipes-networking/cni/cni_git.bb
@@ -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"
-- 
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.


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-05  7:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-26 21:07 [meta-virtualization][PATCH v2] cni: make ca-certificates a packageconfig Patrick Vogelaar
2025-06-05  2:34 ` Bruce Ashfield
2025-06-05  7:29   ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.