fix(kubernetes): path to compiled bin based an arch
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
29852f3df4
commit
e711f9a1be
@ -120,7 +120,7 @@ package_kubeadm() {
|
|||||||
depends=(glibc crictl)
|
depends=(glibc crictl)
|
||||||
install=$pkgname.install
|
install=$pkgname.install
|
||||||
|
|
||||||
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/amd64/$pkgname -t "$pkgdir/usr/bin"
|
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/${GOARCH}/$pkgname -t "$pkgdir/usr/bin"
|
||||||
# man pages
|
# man pages
|
||||||
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
||||||
# service override for kubelet.service
|
# service override for kubelet.service
|
||||||
@ -135,7 +135,7 @@ package_kubectl() {
|
|||||||
depends=(glibc)
|
depends=(glibc)
|
||||||
groups=(kubernetes-tools)
|
groups=(kubernetes-tools)
|
||||||
|
|
||||||
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/amd64/$pkgname -t "$pkgdir/usr/bin"
|
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/${GOARCH}/$pkgname -t "$pkgdir/usr/bin"
|
||||||
# man pages
|
# man pages
|
||||||
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1"
|
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1"
|
||||||
# shell completion
|
# shell completion
|
||||||
@ -156,7 +156,7 @@ package_kubelet() {
|
|||||||
backup=(etc/$pkgbase/$pkgname.env)
|
backup=(etc/$pkgbase/$pkgname.env)
|
||||||
install=$pkgname.install
|
install=$pkgname.install
|
||||||
|
|
||||||
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/amd64/$pkgname -t "$pkgdir/usr/bin"
|
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/${GOARCH}/$pkgname -t "$pkgdir/usr/bin"
|
||||||
# man pages
|
# man pages
|
||||||
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
||||||
# config
|
# config
|
||||||
@ -177,7 +177,7 @@ package_kube-apiserver() {
|
|||||||
groups=(kubernetes-control-plane)
|
groups=(kubernetes-control-plane)
|
||||||
backup=(etc/$pkgbase/$pkgname.env)
|
backup=(etc/$pkgbase/$pkgname.env)
|
||||||
|
|
||||||
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/amd64/$pkgname -t "$pkgdir/usr/bin"
|
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/${GOARCH}/$pkgname -t "$pkgdir/usr/bin"
|
||||||
# man pages
|
# man pages
|
||||||
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
||||||
# config
|
# config
|
||||||
@ -192,7 +192,7 @@ package_kube-controller-manager() {
|
|||||||
groups=(kubernetes-control-plane)
|
groups=(kubernetes-control-plane)
|
||||||
backup=(etc/$pkgbase/$pkgname.env)
|
backup=(etc/$pkgbase/$pkgname.env)
|
||||||
|
|
||||||
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/amd64/$pkgname -t "$pkgdir/usr/bin"
|
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/${GOARCH}/$pkgname -t "$pkgdir/usr/bin"
|
||||||
# man pages
|
# man pages
|
||||||
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
||||||
# config
|
# config
|
||||||
@ -207,7 +207,7 @@ package_kube-proxy() {
|
|||||||
groups=(kubernetes-control-plane kubernetes-node)
|
groups=(kubernetes-control-plane kubernetes-node)
|
||||||
backup=(etc/$pkgbase/$pkgname.env)
|
backup=(etc/$pkgbase/$pkgname.env)
|
||||||
|
|
||||||
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/amd64/$pkgname -t "$pkgdir/usr/bin/"
|
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/${GOARCH}/$pkgname -t "$pkgdir/usr/bin/"
|
||||||
# man pages
|
# man pages
|
||||||
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
||||||
# config
|
# config
|
||||||
@ -224,7 +224,7 @@ package_kube-scheduler() {
|
|||||||
groups=(kubernetes-control-plane)
|
groups=(kubernetes-control-plane)
|
||||||
backup=(etc/$pkgbase/$pkgname.env)
|
backup=(etc/$pkgbase/$pkgname.env)
|
||||||
|
|
||||||
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/amd64/$pkgname -t "$pkgdir/usr/bin"
|
install -vDm 755 $pkgbase-$pkgver/_output/local/bin/linux/${GOARCH}/$pkgname -t "$pkgdir/usr/bin"
|
||||||
# man pages
|
# man pages
|
||||||
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
install -vDm 644 $pkgbase-$pkgver/docs/man/man1/$pkgname* -t "$pkgdir/usr/share/man/man1/"
|
||||||
# config
|
# config
|
||||||
|
Loading…
Reference in New Issue
Block a user