From b3b655cd6758ccce49d68c019f082e93504a4be2 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 1 Mar 2021 11:37:40 -0500 Subject: riddler: 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 --- recipes-containers/riddler/riddler_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-containers/riddler') diff --git a/recipes-containers/riddler/riddler_git.bb b/recipes-containers/riddler/riddler_git.bb index 8f71649b..1bdf786a 100644 --- a/recipes-containers/riddler/riddler_git.bb +++ b/recipes-containers/riddler/riddler_git.bb @@ -46,6 +46,8 @@ do_compile() { export LDFLAGS="" export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export GO111MODULE=off + cd ${S}/src/import oe_runmake static -- cgit v1.2.3-54-g00ecf