summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-containers/k3s/k3s_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-containers/k3s/k3s_git.bb b/recipes-containers/k3s/k3s_git.bb
index 8d59987e..6c11f9c2 100644
--- a/recipes-containers/k3s/k3s_git.bb
+++ b/recipes-containers/k3s/k3s_git.bb
@@ -33,6 +33,9 @@ GO_BUILD_LDFLAGS = "-X github.com/rancher/k3s/pkg/version.Version=${PV} \
33 " 33 "
34BIN_PREFIX ?= "${exec_prefix}/local" 34BIN_PREFIX ?= "${exec_prefix}/local"
35 35
36inherit features_check
37REQUIRED_DISTRO_FEATURES ?= "seccomp"
38
36do_compile() { 39do_compile() {
37 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go" 40 export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go"
38 export CGO_ENABLED="1" 41 export CGO_ENABLED="1"