diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-01 11:12:37 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-01 11:12:37 -0500 |
| commit | 8597d4e3a973ac7e78483fb3ab0e19dbcc681913 (patch) | |
| tree | e9473b170ce0b1b52cde6079c7e6ad312f5edb0d | |
| parent | 26770b8058070d55fb36bedce1380019811e55de (diff) | |
| download | meta-virtualization-8597d4e3a973ac7e78483fb3ab0e19dbcc681913.tar.gz | |
containerd: 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/containerd/containerd-opencontainers_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-containers/containerd/containerd-opencontainers_git.bb b/recipes-containers/containerd/containerd-opencontainers_git.bb index 7382e107..d2f42962 100644 --- a/recipes-containers/containerd/containerd-opencontainers_git.bb +++ b/recipes-containers/containerd/containerd-opencontainers_git.bb | |||
| @@ -78,6 +78,7 @@ do_compile() { | |||
| 78 | export CFLAGS="${CFLAGS}" | 78 | export CFLAGS="${CFLAGS}" |
| 79 | export LDFLAGS="${LDFLAGS}" | 79 | export LDFLAGS="${LDFLAGS}" |
| 80 | export SHIM_CGO_ENABLED="${CGO_ENABLED}" | 80 | export SHIM_CGO_ENABLED="${CGO_ENABLED}" |
| 81 | export GO111MODULE=off | ||
| 81 | 82 | ||
| 82 | cd ${S}/src/import | 83 | cd ${S}/src/import |
| 83 | oe_runmake binaries | 84 | oe_runmake binaries |
