Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/pkg-golang: don't export unused BR_GOMOD
@ 2022-03-07 15:43 yann.morin
  2022-03-07 18:41 ` Christian Stewart via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: yann.morin @ 2022-03-07 15:43 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E. MORIN, Anisse Astier, Thomas Petazzoni

From: "Yann E. MORIN" <yann.morin@orange.com>

BR_GOMOD is a remnant from a previous iteration of the golang download
infrastructure; it is currently used nowhere.

Do not set it.

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Anisse Astier <anisse@astier.eu>
Cc: Christian Stewart <christian@paral.in>
---
 package/pkg-golang.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/pkg-golang.mk b/package/pkg-golang.mk
index f1c5cfd350..0cb2ed73cc 100644
--- a/package/pkg-golang.mk
+++ b/package/pkg-golang.mk
@@ -87,8 +87,7 @@ $(2)_POST_PATCH_HOOKS += $(2)_GEN_GOMOD
 $(2)_DOWNLOAD_POST_PROCESS = go
 $(2)_DL_ENV += \
 	$$(HOST_GO_COMMON_ENV) \
-	GOPROXY=direct \
-	BR_GOMOD=$$($(2)_GOMOD)
+	GOPROXY=direct
 
 # Due to vendoring, it is pretty likely that not all licenses are
 # listed in <pkg>_LICENSE.
-- 
2.25.1


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/pkg-golang: don't export unused BR_GOMOD
  2022-03-07 15:43 [Buildroot] [PATCH] package/pkg-golang: don't export unused BR_GOMOD yann.morin
@ 2022-03-07 18:41 ` Christian Stewart via buildroot
  2022-03-07 20:39 ` Peter Korsgaard
  2022-03-07 21:10 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Christian Stewart via buildroot @ 2022-03-07 18:41 UTC (permalink / raw)
  To: yann.morin
  Cc: Christian Stewart, Anisse Astier, Thomas Petazzoni,
	Buildroot Mailing List

Hi Yann,

On Mon, Mar 7, 2022 at 7:43 AM <yann.morin@orange.com> wrote:
>
> From: "Yann E. MORIN" <yann.morin@orange.com>
>
> BR_GOMOD is a remnant from a previous iteration of the golang download
> infrastructure; it is currently used nowhere.
>
> Do not set it.
>
> Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Cc: Anisse Astier <anisse@astier.eu>
> Cc: Christian Stewart <christian@paral.in>
> ---
>  package/pkg-golang.mk | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/package/pkg-golang.mk b/package/pkg-golang.mk
> index f1c5cfd350..0cb2ed73cc 100644
> --- a/package/pkg-golang.mk
> +++ b/package/pkg-golang.mk
> @@ -87,8 +87,7 @@ $(2)_POST_PATCH_HOOKS += $(2)_GEN_GOMOD
>  $(2)_DOWNLOAD_POST_PROCESS = go
>  $(2)_DL_ENV += \
>         $$(HOST_GO_COMMON_ENV) \
> -       GOPROXY=direct \
> -       BR_GOMOD=$$($(2)_GOMOD)
> +       GOPROXY=direct

Reviewed-by: Christian Stewart <christian@paral.in>

Thanks,
Christian
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/pkg-golang: don't export unused BR_GOMOD
  2022-03-07 15:43 [Buildroot] [PATCH] package/pkg-golang: don't export unused BR_GOMOD yann.morin
  2022-03-07 18:41 ` Christian Stewart via buildroot
@ 2022-03-07 20:39 ` Peter Korsgaard
  2022-03-07 20:41   ` Peter Korsgaard
  2022-03-07 21:10 ` Peter Korsgaard
  2 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2022-03-07 20:39 UTC (permalink / raw)
  To: yann.morin; +Cc: Anisse Astier, Thomas Petazzoni, buildroot

>>>>>   <yann.morin@orange.com> writes:

 > From: "Yann E. MORIN" <yann.morin@orange.com>
 > BR_GOMOD is a remnant from a previous iteration of the golang download
 > infrastructure; it is currently used nowhere.

 > Do not set it.

 > Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
 > Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 > Cc: Anisse Astier <anisse@astier.eu>
 > Cc: Christian Stewart <christian@paral.in>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/pkg-golang: don't export unused BR_GOMOD
  2022-03-07 20:39 ` Peter Korsgaard
@ 2022-03-07 20:41   ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2022-03-07 20:41 UTC (permalink / raw)
  To: yann.morin; +Cc: Anisse Astier, Thomas Petazzoni, buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

>>>>>   <yann.morin@orange.com> writes:
 >> From: "Yann E. MORIN" <yann.morin@orange.com>
 >> BR_GOMOD is a remnant from a previous iteration of the golang download
 >> infrastructure; it is currently used nowhere.

 >> Do not set it.

 >> Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
 >> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 >> Cc: Anisse Astier <anisse@astier.eu>
 >> Cc: Christian Stewart <christian@paral.in>

 > Committed, thanks.

Ups, hold that - It doesn't apply to master as it is done on top of the
other pending golang fixes.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/pkg-golang: don't export unused BR_GOMOD
  2022-03-07 15:43 [Buildroot] [PATCH] package/pkg-golang: don't export unused BR_GOMOD yann.morin
  2022-03-07 18:41 ` Christian Stewart via buildroot
  2022-03-07 20:39 ` Peter Korsgaard
@ 2022-03-07 21:10 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2022-03-07 21:10 UTC (permalink / raw)
  To: yann.morin; +Cc: Anisse Astier, Thomas Petazzoni, buildroot

>>>>>   <yann.morin@orange.com> writes:

 > From: "Yann E. MORIN" <yann.morin@orange.com>
 > BR_GOMOD is a remnant from a previous iteration of the golang download
 > infrastructure; it is currently used nowhere.

 > Do not set it.

 > Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
 > Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 > Cc: Anisse Astier <anisse@astier.eu>
 > Cc: Christian Stewart <christian@paral.in>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-03-07 21:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-07 15:43 [Buildroot] [PATCH] package/pkg-golang: don't export unused BR_GOMOD yann.morin
2022-03-07 18:41 ` Christian Stewart via buildroot
2022-03-07 20:39 ` Peter Korsgaard
2022-03-07 20:41   ` Peter Korsgaard
2022-03-07 21:10 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox