diff options
author | Otavio Salvador <otavio.salvador@gmail.com> | 2020-05-21 23:22:36 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-26 23:07:12 +0100 |
commit | 1838b0df75fca8e593c0aa7df23ecd7220da6534 (patch) | |
tree | 4e914e801a24a889f2db0fa7d75b8abc68d96108 /meta/recipes-devtools/go | |
parent | 030978c955725c456d7c1cd6a64798fad505d281 (diff) | |
download | poky-1838b0df75fca8e593c0aa7df23ecd7220da6534.tar.gz |
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: b34000ae3dd6e0a1d7fc332efb35c5da84cf2275)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go')
-rw-r--r-- | meta/recipes-devtools/go/go-dep_0.5.4.bb | 4 |
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" | |||
13 | 13 | ||
14 | inherit go | 14 | inherit go |
15 | 15 | ||
16 | # New Go versions has Go modules support enabled by default and cause the Glide | ||
17 | # tool build to fail. | ||
18 | export GO111MODULE = "off" | ||
19 | |||
16 | GO_INSTALL = "${GO_IMPORT}/cmd/dep" | 20 | GO_INSTALL = "${GO_IMPORT}/cmd/dep" |
17 | 21 | ||
18 | RDEPENDS_${PN}-dev += "bash" | 22 | RDEPENDS_${PN}-dev += "bash" |