All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bruce Ashfield" <bruce.ashfield@gmail.com>
To: Chen Qi <Qi.Chen@windriver.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization] [PATCH] consul: export GO111MODULE=off
Date: Tue, 16 Mar 2021 08:58:59 -0400	[thread overview]
Message-ID: <20210316125857.GA62608@gmail.com> (raw)
In-Reply-To: <20210316060525.27955-1-Qi.Chen@windriver.com>

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
> 

> 
> 
> 


      reply	other threads:[~2021-03-16 12:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-16  6:05 [PATCH] consul: export GO111MODULE=off Chen Qi
2021-03-16 12:58 ` Bruce Ashfield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210316125857.GA62608@gmail.com \
    --to=bruce.ashfield@gmail.com \
    --cc=Qi.Chen@windriver.com \
    --cc=meta-virtualization@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.