summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2024-05-30 14:34:58 +0200
committerSteve Sakoman <steve@sakoman.com>2024-05-31 14:02:17 -0700
commita3f5ac9f9fee2c8e10fec7c3f758e49513fef724 (patch)
tree54d7f791c9449afa99ac6414bc5ce9bd46b6f98f /meta/recipes-core
parentec1c6bc79f5ca219e77a379bbabc2dad808d2020 (diff)
downloadopenembedded-core-scarthgap.tar.gz
git: set --with-gitconfig=/etc/gitconfig for -native buildsscarthgap
Commit 6c2ae2346db0 (kern-tools: depend on git-replacement-native) broke our kernel builds. For saving space and time, we have a DL_DIR shared between multiple users/buildbots, not all of which run with the same uid (and with appropriate sticky bits set so that files downloaded by one user become owned by a common group and are readable by others). This works fine also for git sources because the docker images we use all have a /etc/gitconfig with [safe] directory = * But with the mentioned commit, the host's git is no longer used for do_unpack (nor for do_fetch if re-building and sysroot has already been populated by a previous build), causing spurious "fatal: detected dubious ownership..." failures. Currently, the path where the git-native binary searches for system gitconfig is the sysroot from it was built, which obviously doesn't contain a /etc/gitconfig. As for the nativesdk variant, respect the host's /etc/gitconfig if present. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 572f511f7ff02fb559ac42d2d5dbd09fec478d97) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-core')
0 files changed, 0 insertions, 0 deletions