-
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.
Add crictl from cri-tools, to minikube.iso
We don't need critest, because it requires go anyway. But kubeadm insists on crictl being available in path.
- Loading branch information
1 parent
3932663
commit 60ec8bd
Showing
4 changed files
with
44 additions
and
0 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
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 |
---|---|---|
@@ -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 |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
sha256 e83b5a8ff6fc2c98c3463600e74a86d7dbbea6330f883cd5663cbd59641a8086 v0.2.tar.gz | ||
sha256 2c8e45414d5804628f557171d622ca3e4a55dfc1f2de0cd33bcba98e863342d1 v1.0.0-alpha.0.tar.gz | ||
sha256 688cd566e11f09247e8135ac1ee65e5afb3ea3303c00569c5e1e265e3b2c68f6 v1.0.0-beta.0.tar.gz |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
################################################################################ | ||
# | ||
# cri-tools | ||
# | ||
################################################################################ | ||
|
||
CRI_TOOLS_VERSION = v1.0.0-beta.0 | ||
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_CONFIGURE_CMDS | ||
mkdir -p $(CRI_TOOLS_GOPATH)/src/github.com/kubernetes-incubator | ||
ln -sf $(@D) $(CRI_TOOLS_GOPATH)/src/github.com/kubernetes-incubator/cri-tools | ||
endef | ||
|
||
define CRI_TOOLS_BUILD_CMDS | ||
$(CRI_TOOLS_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) crictl | ||
endef | ||
|
||
define CRI_TOOLS_INSTALL_TARGET_CMDS | ||
$(INSTALL) -Dm755 \ | ||
$(CRI_TOOLS_GOPATH)/bin/crictl \ | ||
$(TARGET_DIR)/usr/bin/crictl | ||
endef | ||
|
||
$(eval $(generic-package)) |