kubernetes: update to 1.9.4.

This commit is contained in:
Andrea Brancaleoni 2018-03-13 12:14:25 +01:00
parent 6456dbf755
commit 524ac68a76
2 changed files with 3 additions and 14 deletions

View File

@ -1,11 +0,0 @@
--- hack/lib/golang.sh
+++ hack/lib/golang.sh
@@ -323,7 +323,7 @@ EOF
go_version=($(go version))
local minimum_go_version
minimum_go_version=go1.9.1
- if [[ "${go_version[2]}" < "${minimum_go_version}" && "${go_version[2]}" != "devel" ]]; then
+ if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
kube::log::usage_from_stdin <<EOF
Detected go version: ${go_version[*]}.
Kubernetes requires ${minimum_go_version} or greater.

View File

@ -1,7 +1,7 @@
# Template file for 'kubernetes'
pkgname=kubernetes
version=1.9.3
revision=2
version=1.9.4
revision=1
build_style=go
nocross=yes
only_for_archs="x86_64 x86_64-musl"
@ -12,7 +12,7 @@ license="Apache-2.0"
go_import_path="github.com/kubernetes/kubernetes"
homepage="http://kubernetes.io"
distfiles="https://$go_import_path/archive/v$version.tar.gz"
checksum=47e6043a880deb18340385c6c3f2482a5f4433769e2441a75e5892594d585cdd
checksum=d4dc8a0d75b0b2de99b5fbb799e487abb11042753fcdab0a933d5622832fcb00
system_accounts="kube"
make_dirs="/var/lib/kubelet 0755 kube kube"
conf_files="/etc/kubernetes/*"