All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [git commit] package/environment-setup: do not export GIT_DIR
Date: Wed, 28 Feb 2024 17:41:36 +0100	[thread overview]
Message-ID: <877ciopmm7.fsf@48ers.dk> (raw)
In-Reply-To: <20240127200855.3B760865AE@busybox.osuosl.org> (Yann E. MORIN's message of "Sat, 27 Jan 2024 21:07:46 +0100")

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=48874afb9d03cb02b0207fd53bf2cdf0c37c8fa0
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > Commit c07aafa08792 (package/Makefile.in: set GIT_DIR=.  in {HOST,
 > TARGET}_MAKE_ENV) added GIT_DIR=.  to TARGET_MAKE_ENV (which is included in
 > TARGET_CONFIGURE_OPTS) to work around issues with packages getting confused
 > when building in a subdir of the Buildroot git repo.

 > This unfortunately also causes git commands to fail when
 > output/host/environment-setup is sourced:

 > git status
 > fatal: not a git repository: '.'

 > So strip GIT_DIR= from TARGET_CONFIGURE_OPTS when generating
 > environment-setup.

 > Reported-by: Mircea Gliga <gliga.mircea@gmail.com>
 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
 > Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>

Committed to 2023.02.x and 2023.11.x, thanks.

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

      reply	other threads:[~2024-02-28 16:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-27 20:07 [Buildroot] [git commit] package/environment-setup: do not export GIT_DIR Yann E. MORIN
2024-02-28 16:41 ` 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=877ciopmm7.fsf@48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    --cc=yann.morin.1998@free.fr \
    /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.