cni: make ca-certificates a packageconfig

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

Signed-off-by: Patrick Vogelaar <patrick.vogelaar@belden.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Patrick Vogelaar 2025-05-26 23:07:08 +02:00 committed by Bruce Ashfield
parent e48daeeb5d
commit 2dc87493ed

View File

@ -103,11 +103,12 @@ 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"
RRECOMMENDS:${PN} += "iptables iproute2"