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 12:48:38 -0500 |
| commit | 85031b943f42aceca559e4cfa06446fd9bf20d98 (patch) | |
| tree | 6ee1c1de8e7bb93d8b386b2184cf95817a3dc987 | |
| parent | 5b35a014bdcd982840dbd0b705e9a2f0294e7116 (diff) | |
| download | meta-virtualization-85031b943f42aceca559e4cfa06446fd9bf20d98.tar.gz | |
docker-distribution: 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-distribution/docker-distribution_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb index cdedba15..6bfc345c 100644 --- a/recipes-containers/docker-distribution/docker-distribution_git.bb +++ b/recipes-containers/docker-distribution/docker-distribution_git.bb | |||
| @@ -35,6 +35,7 @@ do_compile() { | |||
| 35 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 35 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
| 36 | export GO_GCFLAGS="" | 36 | export GO_GCFLAGS="" |
| 37 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 37 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
| 38 | export GO111MODULE=off | ||
| 38 | 39 | ||
| 39 | cd ${S} | 40 | cd ${S} |
| 40 | 41 | ||
