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 <[email protected]>
> ---
>  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
> 

> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6288): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6288
Mute This Topic: https://lists.yoctoproject.org/mt/81370067/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to