From 7aee7a31ed93d788fa89164255212b87b1cedd3d Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 1 Mar 2021 11:37:40 -0500 Subject: oci-runtime-tools: export GO111MODULE=off With the latest go version bump in oe-core export GO111MODULE is on by default. Our build is not setup to use go modules, so we disable it and avoid configuration errors: no required module provides package ... : working directory is not part of a module Signed-off-by: Bruce Ashfield --- recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb index a0ccb85c..7f194027 100644 --- a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb +++ b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb @@ -29,6 +29,7 @@ do_compile() { export LDFLAGS="" export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export GO111MODULE=off # link fixups for compilation rm -f ${S}/src/import/vendor/src -- cgit v1.2.3-54-g00ecf