diff options
Diffstat (limited to 'recipes-networking/cni')
-rw-r--r-- | recipes-networking/cni/cni_git.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-networking/cni/cni_git.bb b/recipes-networking/cni/cni_git.bb index 137ce661..427a812f 100644 --- a/recipes-networking/cni/cni_git.bb +++ b/recipes-networking/cni/cni_git.bb | |||
@@ -16,6 +16,8 @@ SRC_URI = "\ | |||
16 | git://github.com/containernetworking/plugins.git;nobranch=1;destsuffix=plugins;name=plugins \ | 16 | git://github.com/containernetworking/plugins.git;nobranch=1;destsuffix=plugins;name=plugins \ |
17 | " | 17 | " |
18 | 18 | ||
19 | RPROVIDES_${PN} += "kubernetes-cni" | ||
20 | |||
19 | LICENSE = "Apache-2.0" | 21 | LICENSE = "Apache-2.0" |
20 | LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" | 22 | LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" |
21 | 23 | ||
@@ -78,7 +80,7 @@ do_compile() { | |||
78 | } | 80 | } |
79 | 81 | ||
80 | do_install() { | 82 | do_install() { |
81 | localbindir="/usr/local/bin" | 83 | localbindir="/opt/cni/bin" |
82 | 84 | ||
83 | install -d ${D}${localbindir} | 85 | install -d ${D}${localbindir} |
84 | install -d ${D}/${sysconfdir}/cni/net.d | 86 | install -d ${D}/${sysconfdir}/cni/net.d |
@@ -87,7 +89,7 @@ do_install() { | |||
87 | install -m 755 -D ${WORKDIR}/plugins/bin/* ${D}/${localbindir} | 89 | install -m 755 -D ${WORKDIR}/plugins/bin/* ${D}/${localbindir} |
88 | } | 90 | } |
89 | 91 | ||
90 | FILES_${PN} += "/usr/local/bin/*" | 92 | FILES_${PN} += "/opt/cni/bin/*" |
91 | 93 | ||
92 | INHIBIT_PACKAGE_STRIP = "1" | 94 | INHIBIT_PACKAGE_STRIP = "1" |
93 | INSANE_SKIP_${PN} += "ldflags already-stripped" | 95 | INSANE_SKIP_${PN} += "ldflags already-stripped" |