diff --git a/deploy/iso/minikube-iso/package/Config.in b/deploy/iso/minikube-iso/package/Config.in index fbec9a82f713..1ad69cbf0c12 100644 --- a/deploy/iso/minikube-iso/package/Config.in +++ b/deploy/iso/minikube-iso/package/Config.in @@ -3,6 +3,7 @@ menu "System tools" source "$BR2_EXTERNAL_MINIKUBE_PATH/package/runc-master/Config.in" source "$BR2_EXTERNAL_MINIKUBE_PATH/package/kpod/Config.in" source "$BR2_EXTERNAL_MINIKUBE_PATH/package/crio-bin/Config.in" + source "$BR2_EXTERNAL_MINIKUBE_PATH/package/cri-tools/Config.in" source "$BR2_EXTERNAL_MINIKUBE_PATH/package/automount/Config.in" source "$BR2_EXTERNAL_MINIKUBE_PATH/package/docker-bin/Config.in" source "$BR2_EXTERNAL_MINIKUBE_PATH/package/cni-bin/Config.in" diff --git a/deploy/iso/minikube-iso/package/cri-tools/Config.in b/deploy/iso/minikube-iso/package/cri-tools/Config.in new file mode 100644 index 000000000000..b82d70116434 --- /dev/null +++ b/deploy/iso/minikube-iso/package/cri-tools/Config.in @@ -0,0 +1,5 @@ +config BR2_PACKAGE_CRI_TOOLS + bool "cri-tools" + default y + depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS diff --git a/deploy/iso/minikube-iso/package/cri-tools/cri-tools.hash b/deploy/iso/minikube-iso/package/cri-tools/cri-tools.hash new file mode 100644 index 000000000000..bccd476e02f2 --- /dev/null +++ b/deploy/iso/minikube-iso/package/cri-tools/cri-tools.hash @@ -0,0 +1 @@ +sha256 e83b5a8ff6fc2c98c3463600e74a86d7dbbea6330f883cd5663cbd59641a8086 v0.2.tar.gz diff --git a/deploy/iso/minikube-iso/package/cri-tools/cri-tools.mk b/deploy/iso/minikube-iso/package/cri-tools/cri-tools.mk new file mode 100644 index 000000000000..45227cd21276 --- /dev/null +++ b/deploy/iso/minikube-iso/package/cri-tools/cri-tools.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# cri-tools +# +################################################################################ + +CRI_TOOLS_VERSION = v0.2 +CRI_TOOLS_SITE = https://github.com/kubernetes-incubator/cri-tools/archive +CRI_TOOLS_SOURCE = $(CRI_TOOLS_VERSION).tar.gz +CRI_TOOLS_LICENSE = Apache-2.0 +CRI_TOOLS_LICENSE_FILES = LICENSE +CRI_TOOLS_DEPENDENCIES = +CRI_TOOLS_GOPATH = $(@D)/_output +CRI_TOOLS_ENV = \ + CGO_ENABLED=1 \ + GOPATH="$(CRI_TOOLS_GOPATH)" \ + PATH=$(CRI_TOOLS_GOPATH)/bin:$(BR_PATH) + + +define CRI_TOOLS_BUILD_CMDS + $(CRI_TOOLS_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define CRI_TOOLS_INSTALL_TARGET_CMDS + $(CRI_TOOLS_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) BINDIR=$(TARGET_DIR)/usr/bin install +endef + +$(eval $(generic-package))