aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio.salvador@gmail.com>2020-05-21 23:22:36 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-26 18:26:49 +0100
commitce277ec45f1f241b1eb17ea6999dbe5a718b898a (patch)
tree2fc41aaa399becbf5737cdc632122bcad194bc17
parent6cc590d2b6b7543a4c8ec64d5e2f0c9b69066551 (diff)
downloadpoky-ce277ec45f1f241b1eb17ea6999dbe5a718b898a.tar.gz
poky-ce277ec45f1f241b1eb17ea6999dbe5a718b898a.tar.bz2
poky-ce277ec45f1f241b1eb17ea6999dbe5a718b898a.zip
go-dep: Avoid use of 'go mod' support
dep utility must not use 'go mod' support, so we explicitly disable it. (From OE-Core rev: e953be6c159bfed4ac69f30fa2562d217d25c254) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b34000ae3dd6e0a1d7fc332efb35c5da84cf2275) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/go/go-dep_0.5.4.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-dep_0.5.4.bb b/meta/recipes-devtools/go/go-dep_0.5.4.bb
index 615cb289e5..496224a5cf 100644
--- a/meta/recipes-devtools/go/go-dep_0.5.4.bb
+++ b/meta/recipes-devtools/go/go-dep_0.5.4.bb
@@ -13,6 +13,10 @@ SRCREV = "1f7c19e5f52f49ffb9f956f64c010be14683468b"
inherit go
+# New Go versions has Go modules support enabled by default and cause the Glide
+# tool build to fail.
+export GO111MODULE = "off"
+
GO_INSTALL = "${GO_IMPORT}/cmd/dep"
RDEPENDS_${PN}-dev += "bash"