summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCole Mickens2018-01-08 17:45:56 -0800
committerCole Mickens2018-01-08 17:51:49 -0800
commitbcc4d3060177a31e8426ba7935ecbdaa1b849391 (patch)
tree3a666b8ee5d614d0f99e85df82f737b913faa09b
parentf7fd67d1b678b6da50b39ccdee8e415579d0e1d2 (diff)
downloadaur-bcc4d3060177a31e8426ba7935ecbdaa1b849391.tar.gz
actually binplace the cni binaries (thanks to moscar/@mikkeloscar for noticing and fixing)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 14906014cea..725d3429ad7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kubernetes-cni-bin
pkgdesc = Kubernetes.io kubernetes-cni binary
pkgver = 0.6.0
- pkgrel = 1
+ pkgrel = 2
url = http://kubernetes.io
arch = x86_64
license = apache
diff --git a/PKGBUILD b/PKGBUILD
index 5c14a88a003..26ecb3f12fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=kubernetes-cni-bin
pkgdesc="Kubernetes.io kubernetes-cni binary"
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url="http://kubernetes.io"
license=('apache')
@@ -14,4 +14,8 @@ sha256sums_x86_64=('08cbe5c42366ec3184cc91a4353f6e066f2d7325b4db1cb4f87c7dcc8c0e
package() {
tar -vxf data.tar.xz
install -D -d -m0755 "./opt/cni/bin" "${pkgdir}/opt/cni/bin"
+
+ for file in ./opt/cni/bin/*; do
+ install -m0755 "$file" "${pkgdir}/opt/cni/bin/"
+ done
}