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 15:52:39 -0500 |
| commit | ec60660c3c19a08357f6cc755c1a5c2f0df88714 (patch) | |
| tree | b2974eab75d0f6aaba7adc90eb06cd98778686e0 | |
| parent | 85031b943f42aceca559e4cfa06446fd9bf20d98 (diff) | |
| download | meta-virtualization-ec60660c3c19a08357f6cc755c1a5c2f0df88714.tar.gz | |
oci-image-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 <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-containers/oci-image-tools/oci-image-tools_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb index 676f3cc4..799262cb 100644 --- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb +++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb | |||
| @@ -50,6 +50,8 @@ do_compile() { | |||
| 50 | export LDFLAGS="" | 50 | export LDFLAGS="" |
| 51 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 51 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
| 52 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 52 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
| 53 | export GO111MODULE=off | ||
| 54 | |||
| 53 | cd ${S}/src/import | 55 | cd ${S}/src/import |
| 54 | 56 | ||
| 55 | oe_runmake tool | 57 | oe_runmake tool |
