summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-networking/cni/cni_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-networking/cni/cni_git.bb b/recipes-networking/cni/cni_git.bb
index cc07a0d5..0ba70746 100644
--- a/recipes-networking/cni/cni_git.bb
+++ b/recipes-networking/cni/cni_git.bb
@@ -94,6 +94,10 @@ do_install() {
94 install -m 755 ${S}/src/import/cnitool/cnitool ${D}/${localbindir} 94 install -m 755 ${S}/src/import/cnitool/cnitool ${D}/${localbindir}
95 install -m 755 -D ${B}/plugins/bin/* ${D}/${localbindir} 95 install -m 755 -D ${B}/plugins/bin/* ${D}/${localbindir}
96 96
97 # make cnitool more available on the path
98 install -d ${D}${bindir}
99 ln -sr ${D}/${localbindir}/cnitool ${D}/${bindir}
100
97 # Parts of k8s expect the cni binaries to be available in /opt/cni 101 # Parts of k8s expect the cni binaries to be available in /opt/cni
98 install -d ${D}/opt/cni 102 install -d ${D}/opt/cni
99 ln -sf ${libexecdir}/cni/ ${D}/opt/cni/bin 103 ln -sf ${libexecdir}/cni/ ${D}/opt/cni/bin