mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-08 09:21:30 +01:00
testing/kubernetes: enable on aarch64
This commit is contained in:
parent
94390e22ed
commit
d98ea35221
@ -8,7 +8,7 @@ pkgver=1.18.4
|
||||
pkgrel=1
|
||||
pkgdesc="Container Cluster Manager"
|
||||
url="https://kubernetes.io/"
|
||||
arch="x86_64"
|
||||
arch="x86_64 aarch64"
|
||||
license="Apache-2.0"
|
||||
options="!check chmod-clean" # Tests hang
|
||||
depends="bash"
|
||||
@ -66,16 +66,13 @@ _services="kube-apiserver kube-controller-manager kube-proxy kube-scheduler"
|
||||
|
||||
build() {
|
||||
for _pkgs in $_agent $_cli $_services ; do
|
||||
make -j1 GOFLAGS=-v WHAT=cmd/$_pkgs
|
||||
make GOFLAGS=-v WHAT=cmd/$_pkgs
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
for bin in $_agent $_cli $_services; do
|
||||
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
|
||||
install -Dm755 _output/local/bin/linux/*/$bin "$pkgdir"/usr/bin/$bin
|
||||
done
|
||||
mkdir -p "$pkgdir"/etc/kubernetes
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user