diff options
| author | Francesco Colista <fcolista@alpinelinux.org> | 2019-07-16 18:37:35 +0000 |
|---|---|---|
| committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-07-16 18:37:40 +0000 |
| commit | e2f593b2201015b8f64ce80e40655c867b087d37 (patch) | |
| tree | 2e621a45192a8a5c64b92b3507fba735b725776f /testing/kubernetes | |
| parent | 68e9a1ca8775fca318261d9ce5b365aeed32f551 (diff) | |
| download | aports-e2f593b2201015b8f64ce80e40655c867b087d37.tar.bz2 aports-e2f593b2201015b8f64ce80e40655c867b087d37.tar.xz | |
testing/kubernetes: enabled arm build. Fixed #8056
Diffstat (limited to 'testing/kubernetes')
| -rw-r--r-- | testing/kubernetes/APKBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/testing/kubernetes/APKBUILD b/testing/kubernetes/APKBUILD index 4186bb4f4b..c810c6d5e0 100644 --- a/testing/kubernetes/APKBUILD +++ b/testing/kubernetes/APKBUILD @@ -4,10 +4,10 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=kubernetes pkgver=1.14.3 -pkgrel=0 +pkgrel=1 pkgdesc="Container Cluster Manager for Docker" url="https://kubernetes.io/" -arch="x86_64" +arch="x86_64 armhf" license="Apache-2.0" options="!check" # Tests hang depends="bash" @@ -34,7 +34,10 @@ package() { kubelet kube-proxy" for bin in $binaries; do - install -Dm755 _output/local/bin/linux/amd64/$bin "$pkgdir"/usr/bin/$bin + case "$CARCH" in + arm*) install -Dm755 _output/local/bin/linux/arm/$bin "$pkgdir"/usr/bin/$bin ;; + x86_64) install -Dm755 _output/local/bin/linux/amd64/$bin "$pkgdir"/usr/bin/$bin ;; + esac done install -d $pkgdir/var/lib/kubelet } |
