aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-08-16 06:26:42 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-08-16 06:26:48 +0000
commitcc4580c0a4eb93924372f4de0739eb4c587f00ec (patch)
tree03abba1b2f09c46121303a988ea703f245fd8c11
parent8b3b8dd879a5b363a21b1353cc934eae28fd97cf (diff)
downloadaports-cc4580c0a4eb93924372f4de0739eb4c587f00ec.tar.bz2
aports-cc4580c0a4eb93924372f4de0739eb4c587f00ec.tar.xz
testing/kubernetes: split kubeadm as subpackage
-rw-r--r--testing/kubernetes/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/testing/kubernetes/APKBUILD b/testing/kubernetes/APKBUILD
index 8b2eb5489a..b7c5ee4af2 100644
--- a/testing/kubernetes/APKBUILD
+++ b/testing/kubernetes/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=kubernetes
pkgver=1.15.2
-pkgrel=0
+pkgrel=1
pkgdesc="Container Cluster Manager for Docker"
url="https://kubernetes.io/"
arch="x86_64 armhf"
@@ -12,6 +12,7 @@ license="Apache-2.0"
options="!check" # Tests hang
depends="bash"
makedepends="coreutils findutils go go-bindata linux-headers rsync grep"
+subpackages="$pkgname-kubeadm:_kubeadm"
source="$pkgname-$pkgver.tar.gz::https://github.com/kubernetes/kubernetes/archive/v$pkgver.tar.gz
ensure-cgo-usage.patch
make-e2e_node-run-over-distro-bins.patch
@@ -76,6 +77,13 @@ package() {
done
}
+_kubeadm() {
+ pkgdesc="Kubernetes - kubeadm"
+ depends="iproute2 socat ethtool"
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/kubeadm "$subpkgdir"/usr/bin
+}
+
sha512sums="0de798631a3bf82766b797f05084f40df4422808c8ec8651480c5c27ecd4adb51148d15c7260b06482eba11c9bbb68966abc03a2d472b98d12cb0fe2ccf38473 kubernetes-1.15.2.tar.gz
bfe072d2f53543b8d704319755f3cfe5ed2467b54879e22117a25a9d7d6d4d238356e45824deaf4d18b8e9eb6f34d1de43be4840b9906f7909478ffe9e8a65ff ensure-cgo-usage.patch
8faa8f1c777740ed33ac4e46e8e47e9092098b6e672cf57a10caab2212b9b5c6965361fe7107d1311227e6145e2ad312982dc0340feb36b03ebb04e1202366f0 make-e2e_node-run-over-distro-bins.patch