All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] consul: export GO111MODULE=off
@ 2021-03-16  6:05 Chen Qi
  2021-03-16 12:58 ` [meta-virtualization] " Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2021-03-16  6:05 UTC (permalink / raw)
  To: meta-virtualization

With the latest go version bump in oe-core export GO111MODULE is
on by default. Our build is not setup to use go modules, so we
disable it and avoid configuration errors.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 recipes-connectivity/consul/consul_git.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-connectivity/consul/consul_git.bb b/recipes-connectivity/consul/consul_git.bb
index b96499c4..f4955e2a 100644
--- a/recipes-connectivity/consul/consul_git.bb
+++ b/recipes-connectivity/consul/consul_git.bb
@@ -28,6 +28,10 @@ COMPATIBLE_HOST_mipsarch = "null"
 SYSTEMD_SERVICE_${PN} = "consul.service"
 SYSTEMD_AUTO_ENABLE_${PN} = "disable"
 
+do_compile_prepend () {
+    export GO111MODULE=off
+}
+
 do_install_append() {
     install -d ${D}/${systemd_unitdir}/system
     cp ${WORKDIR}/consul.service ${D}/${systemd_unitdir}/system
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-virtualization] [PATCH] consul: export GO111MODULE=off
  2021-03-16  6:05 [PATCH] consul: export GO111MODULE=off Chen Qi
@ 2021-03-16 12:58 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2021-03-16 12:58 UTC (permalink / raw)
  To: Chen Qi; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization] [PATCH] consul: export GO111MODULE=off
on 16/03/2021 Chen Qi wrote:

> With the latest go version bump in oe-core export GO111MODULE is
> on by default. Our build is not setup to use go modules, so we
> disable it and avoid configuration errors.
> 
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>  recipes-connectivity/consul/consul_git.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/recipes-connectivity/consul/consul_git.bb b/recipes-connectivity/consul/consul_git.bb
> index b96499c4..f4955e2a 100644
> --- a/recipes-connectivity/consul/consul_git.bb
> +++ b/recipes-connectivity/consul/consul_git.bb
> @@ -28,6 +28,10 @@ COMPATIBLE_HOST_mipsarch = "null"
>  SYSTEMD_SERVICE_${PN} = "consul.service"
>  SYSTEMD_AUTO_ENABLE_${PN} = "disable"
>  
> +do_compile_prepend () {
> +    export GO111MODULE=off
> +}
> +
>  do_install_append() {
>      install -d ${D}/${systemd_unitdir}/system
>      cp ${WORKDIR}/consul.service ${D}/${systemd_unitdir}/system
> -- 
> 2.30.2
> 

> 
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-16 12:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-16  6:05 [PATCH] consul: export GO111MODULE=off Chen Qi
2021-03-16 12:58 ` [meta-virtualization] " Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.