-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18020 from travier/buildroot-update
Update to buildroot 2023.02.9 & Golang 1.21.6
- Loading branch information
Showing
43 changed files
with
228 additions
and
322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ KIC_VERSION ?= $(shell grep -E "Version =" pkg/drivers/kic/types.go | cut -d \" | |
HUGO_VERSION ?= $(shell grep -E "HUGO_VERSION = \"" netlify.toml | cut -d \" -f2) | ||
|
||
# Default to .0 for higher cache hit rates, as build increments typically don't require new ISO versions | ||
ISO_VERSION ?= v1.32.1-1708020063-17936 | ||
ISO_VERSION ?= v1.32.1-1708638130-18020 | ||
|
||
# Dashes are valid in semver, but not Linux packaging. Use ~ to delimit alpha/beta | ||
DEB_VERSION ?= $(subst -,~,$(RAW_VERSION)) | ||
|
@@ -44,9 +44,9 @@ KVM_GO_VERSION ?= $(GO_VERSION:.0=) | |
|
||
|
||
INSTALL_SIZE ?= $(shell du out/minikube-windows-amd64.exe | cut -f1) | ||
BUILDROOT_BRANCH ?= 2021.02.12 | ||
BUILDROOT_BRANCH ?= 2023.02.9 | ||
# the go version on the line below is for the ISO | ||
GOLANG_OPTIONS = GO_VERSION=1.19.9 GO_HASH_FILE=$(PWD)/deploy/iso/minikube-iso/go.hash | ||
GOLANG_OPTIONS = GO_VERSION=1.21.6 GO_HASH_FILE=$(PWD)/deploy/iso/minikube-iso/go.hash | ||
BUILDROOT_OPTIONS = BR2_EXTERNAL=../../deploy/iso/minikube-iso $(GOLANG_OPTIONS) | ||
REGISTRY ?= gcr.io/k8s-minikube | ||
|
||
|
@@ -76,7 +76,7 @@ MINIKUBE_BUCKET ?= minikube/releases | |
MINIKUBE_UPLOAD_LOCATION := gs://${MINIKUBE_BUCKET} | ||
MINIKUBE_RELEASES_URL=https://github.com/kubernetes/minikube/releases/download | ||
|
||
KERNEL_VERSION ?= 5.10.57 | ||
KERNEL_VERSION ?= 5.10.207 | ||
# latest from https://github.com/golangci/golangci-lint/releases | ||
# update this only by running `make update-golint-version` | ||
GOLINT_VERSION ?= v1.56.2 | ||
|
@@ -303,10 +303,9 @@ minikube-iso-%: deploy/iso/minikube-iso/board/minikube/%/rootfs-overlay/usr/bin/ | |
cp deploy/iso/minikube-iso/go.hash $(BUILD_DIR)/buildroot/package/go/go.hash; \ | ||
git --git-dir=$(BUILD_DIR)/buildroot/.git config user.email "[email protected]"; \ | ||
git --git-dir=$(BUILD_DIR)/buildroot/.git config user.name "Random developer"; \ | ||
git --git-dir=$(BUILD_DIR)/buildroot/.git --work-tree=$(BUILD_DIR)/buildroot am ../../deploy/iso/minikube-iso/0001-linux-add-BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE.patch; \ | ||
fi; | ||
$(MAKE) -C $(BUILD_DIR)/buildroot $(BUILDROOT_OPTIONS) O=$(BUILD_DIR)/buildroot/output-$* minikube_$*_defconfig | ||
$(MAKE) -C $(BUILD_DIR)/buildroot $(BUILDROOT_OPTIONS) O=$(BUILD_DIR)/buildroot/output-$* host-python | ||
$(MAKE) -C $(BUILD_DIR)/buildroot $(BUILDROOT_OPTIONS) O=$(BUILD_DIR)/buildroot/output-$* host-python3 | ||
$(MAKE) -C $(BUILD_DIR)/buildroot $(BUILDROOT_OPTIONS) O=$(BUILD_DIR)/buildroot/output-$* | ||
# x86_64 ISO is still BIOS rather than EFI because of AppArmor issues for KVM, and Gen 2 issues for Hyper-V | ||
if [ "$*" = "aarch64" ]; then \ | ||
|
@@ -1087,6 +1086,11 @@ update-cri-o-version: | |
(cd hack/update/cri-o_version && \ | ||
go run update_cri-o_version.go) | ||
|
||
.PHONY: update-crun-version | ||
update-crun-version: | ||
(cd hack/update/crun_version && \ | ||
go run update_crun_version.go) | ||
|
||
.PHONY: update-metrics-server-version | ||
update-metrics-server-version: | ||
(cd hack/update/metrics_server_version && \ | ||
|
72 changes: 0 additions & 72 deletions
72
deploy/iso/minikube-iso/0001-linux-add-BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
source "$BR2_EXTERNAL_MINIKUBE_PATH/package/Config.in" | ||
source "$BR2_EXTERNAL_MINIKUBE_PATH/arch/aarch64/package/Config.in" | ||
source "$BR2_EXTERNAL_MINIKUBE_PATH/arch/aarch64/package/Config.in" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...h64/package/cni-plugins-aarch64/Config.in → ...kage/cni-plugins-latest-aarch64/Config.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
config BR2_PACKAGE_CNI_PLUGINS_AARCH64 | ||
bool "cni-plugins" | ||
config BR2_PACKAGE_CNI_PLUGINS_LATEST_AARCH64 | ||
bool "cni-plugins-latest" | ||
default y | ||
depends on BR2_aarch64 | ||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS |
File renamed without changes.
14 changes: 7 additions & 7 deletions
14
...ackage/cni-plugins-aarch64/cni-plugins.mk → ...gins-latest-aarch64/cni-plugins-latest.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...arch/x86_64/package/cni-plugins/Config.in → ...6_64/package/cni-plugins-latest/Config.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
config BR2_PACKAGE_CNI_PLUGINS | ||
bool "cni-plugins" | ||
config BR2_PACKAGE_CNI_PLUGINS_LATEST | ||
bool "cni-plugins-latest" | ||
default y | ||
depends on BR2_x86_64 | ||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS |
File renamed without changes.
14 changes: 7 additions & 7 deletions
14
...x86_64/package/cni-plugins/cni-plugins.mk → .../cni-plugins-latest/cni-plugins-latest.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...y/iso/minikube-iso/package/crun/Config.in → ...inikube-iso/package/crun-latest/Config.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.