Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: Stefan Agner <stefan@agner.ch>
Cc: Anisse Astier <anisse@astier.eu>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/pkg-golang: disable version control information
Date: Sat, 04 Mar 2023 13:49:18 +0100	[thread overview]
Message-ID: <878rgcel69.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <12a7772dc9c30d31bc4dd7a4e15ca12425c14834.1676297701.git.stefan@agner.ch> (Stefan Agner's message of "Mon, 13 Feb 2023 15:15:34 +0100")

>>>>> "Stefan" == Stefan Agner <stefan@agner.ch> writes:

 > By default go tries to include version control (VCS) information in
 > binaries. Since Buildroot separates version control from the build
 > process it is sensible to disable this behavior.

 > This avoids build errors when building with a git repository higher
 > up in the tree owned by root. In this case the go build system
 > calls `git status --porcelain` which returns with an error:
 > fatal: detected dubious ownership in repository at '/build'

 > Signed-off-by: Stefan Agner <stefan@agner.ch>

Committed to 2022.11.x and 2022.02.x, thanks.

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

      parent reply	other threads:[~2023-03-04 12:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-13 14:15 [Buildroot] [PATCH] package/pkg-golang: disable version control information Stefan Agner
2023-02-15 10:55 ` Christian Stewart via buildroot
2023-02-15 21:15 ` Arnout Vandecappelle
2023-03-04 12:49 ` Peter Korsgaard [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=878rgcel69.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=anisse@astier.eu \
    --cc=buildroot@buildroot.org \
    --cc=stefan@agner.ch \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox