From dc1713bec31ecd52a9715fd528253b26140f69d3 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 1 Mar 2021 11:37:40 -0500 Subject: docker-moby: 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/docker/docker-moby.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-containers/docker/docker-moby.bb b/recipes-containers/docker/docker-moby.bb index 1427784f..e94dfc2b 100644 --- a/recipes-containers/docker/docker-moby.bb +++ b/recipes-containers/docker/docker-moby.bb @@ -95,6 +95,7 @@ do_compile() { export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" export DOCKER_BUILDTAGS='${BUILD_TAGS} ${PACKAGECONFIG_CONFARGS}' + export GO111MODULE=off export DISABLE_WARN_OUTSIDE_CONTAINER=1 -- cgit v1.2.3-54-g00ecf