From ce78d3305f1f6a7a894489d69bcb5ff2cce58bb9 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 26 Jun 2023 18:27:11 +0200 Subject: [PATCH] Revert "yq: Redefine do_compile" This reverts commit 49a6827cbdb6e00d3af5e5c4a4479c47573a4533. The workaround is no longer needed, as oe-core has upgraded go to a version that has fixed the issue. Signed-off-by: Bruce Ashfield --- recipes-devtools/yq/yq_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb index bd474a79..45f2f970 100644 --- a/recipes-devtools/yq/yq_git.bb +++ b/recipes-devtools/yq/yq_git.bb @@ -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() {