[PATCH 1/2] Revert "yq: drop {LINKSHARED}"


Jose Quaresma
 

This reverts commit d2a630ce6cf67a145f218012fbf02e4d0d9648df.

The linkshared is fixed upstream and backported in oe-core.
https://git.yoctoproject.org/poky/commit/?id=d5c79ca6a77af1a04992fff4300333e02d94d84d

Signed-off-by: Jose Quaresma <jose.quaresma@...>
---
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 bd474a7..45f2f97 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() {
--
2.34.1


Bruce Ashfield
 

This is now staged on master-next.

Bruce

In message: [meta-virtualization][PATCH 1/2] Revert "yq: drop {LINKSHARED}"
on 27/03/2023 Jose Quaresma wrote:

This reverts commit d2a630ce6cf67a145f218012fbf02e4d0d9648df.

The linkshared is fixed upstream and backported in oe-core.
https://git.yoctoproject.org/poky/commit/?id=d5c79ca6a77af1a04992fff4300333e02d94d84d

Signed-off-by: Jose Quaresma <jose.quaresma@...>
---
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 bd474a7..45f2f97 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() {
--
2.34.1