Skip to contentSkip to conversation

Revert "yq: Redefine do_compile"

PATCH New Martin Jansa 1 participant 1 message Jun 26, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "yq: Redefine do_compile"

From: Bruce Ashfield <[email protected]>

This reverts commit 49a6827cbdb6e00d3af5e5c4a4479c47573a4533.

The workaround is no longer needed, as oe-core has upgraded go to a version that has fixed the issue.

---
 recipes-devtools/yq/yq_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
recipes-devtools/yq/yq_git.bb +1 -2
index bd474a7..45f2f97 100644
@@ -50,7 +50,7 @@ GO_IMPORT = "github.com/mikefarah/yq"
 
 inherit go ptest
 
-do_compile() {
+do_compile:prepend() {
     # arrange for some of the golang built ins to be found
     (
 	cd ${WORKDIR}/build/src/
@@ -60,7 +60,6 @@ do_compile() {
     # arrange for the fetched dependencies to be found
     export GOPATH="${GOPATH}:${WORKDIR}/build/vendor/"
     export GO111MODULE=off
-    ${GO} install ${GOBUILDFLAGS} `go_list_packages`
 }
 
 do_install:append() {
Signature · 1 line
2.41.0