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>
This commit is contained in:
Bruce Ashfield 2021-03-01 11:12:37 -05:00
parent 26770b8058
commit 8597d4e3a9

View File

@ -78,6 +78,7 @@ do_compile() {
export CFLAGS="${CFLAGS}" export CFLAGS="${CFLAGS}"
export LDFLAGS="${LDFLAGS}" export LDFLAGS="${LDFLAGS}"
export SHIM_CGO_ENABLED="${CGO_ENABLED}" export SHIM_CGO_ENABLED="${CGO_ENABLED}"
export GO111MODULE=off
cd ${S}/src/import cd ${S}/src/import
oe_runmake binaries oe_runmake binaries