diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-01 11:37:40 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-01 11:37:40 -0500 |
| commit | dc1713bec31ecd52a9715fd528253b26140f69d3 (patch) | |
| tree | 58d5d7214cacbc8b4a2c3b6823a12de45890b7d4 | |
| parent | 8597d4e3a973ac7e78483fb3ab0e19dbcc681913 (diff) | |
| download | meta-virtualization-dc1713bec31ecd52a9715fd528253b26140f69d3.tar.gz | |
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 <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-containers/docker/docker-moby.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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() { | |||
| 95 | export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 95 | export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
| 96 | export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 96 | export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
| 97 | export DOCKER_BUILDTAGS='${BUILD_TAGS} ${PACKAGECONFIG_CONFARGS}' | 97 | export DOCKER_BUILDTAGS='${BUILD_TAGS} ${PACKAGECONFIG_CONFARGS}' |
| 98 | export GO111MODULE=off | ||
| 98 | 99 | ||
| 99 | export DISABLE_WARN_OUTSIDE_CONTAINER=1 | 100 | export DISABLE_WARN_OUTSIDE_CONTAINER=1 |
| 100 | 101 | ||
