minikube: update to 1.18.1.
This commit is contained in:
parent
395e6c811b
commit
0416aa2f6f
1 changed files with 12 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
|||
# Template file for 'minikube'
|
||||
pkgname=minikube
|
||||
version=1.18.0
|
||||
version=1.18.1
|
||||
revision=1
|
||||
build_style=go
|
||||
build_helper=qemu
|
||||
go_ldflags="-X k8s.io/minikube/pkg/version.version=$version"
|
||||
go_import_path="k8s.io/minikube/cmd/minikube k8s.io/minikube/cmd/drivers/kvm"
|
||||
hostmakedepends="go-bindata python pkg-config git"
|
||||
makedepends="libvirt-devel"
|
||||
|
@ -14,7 +15,7 @@ license="Apache-2.0"
|
|||
homepage="https://github.com/kubernetes/minikube"
|
||||
changelog="https://raw.githubusercontent.com/kubernetes/minikube/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/kubernetes/minikube/archive/v$version.tar.gz"
|
||||
checksum="c3f0f60607bca0c2f1a118d6d5ce313ac0c6e56b5f9621cb00ca17271aceaff6"
|
||||
checksum=4ade34adf8d33ddd141d436b33cb66d4183e059f8a112ea1aeb1edeae9302594
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
|
@ -23,7 +24,16 @@ pre_configure() {
|
|||
}
|
||||
|
||||
pre_build() {
|
||||
local storage_provisioner_tag= iso_version=
|
||||
|
||||
make pkg/minikube/assets/assets.go pkg/minikube/translate/translations.go
|
||||
storage_provisioner_tag=$(sed -n '/^STORAGE_PROVISIONER_TAG/s/.*=\W*//p' Makefile)
|
||||
iso_version=$(sed -n '/^ISO_VERSION/s/.*=\W*//p' Makefile)
|
||||
|
||||
go_ldflags+="
|
||||
-X k8s.io/minikube/pkg/version.isoVersion=$iso_version
|
||||
-X k8s.io/minikube/pkg/version.storageProvisionerVersion=$storage_provisioner_tag
|
||||
"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in a new issue