Files
poky/meta/recipes-devtools
Rasmus Villemoes ae6cebca5b git: set --with-gitconfig=/etc/gitconfig for -native builds
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.

(From OE-Core rev: a3f5ac9f9fee2c8e10fec7c3f758e49513fef724)

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>
2024-06-05 05:57:12 -07:00
..
2023-06-01 08:05:11 +01:00
2024-01-21 12:27:12 +00:00
2023-07-19 19:37:38 +01:00
2023-07-30 07:54:44 +01:00
2024-03-01 09:28:51 +00:00
2023-11-05 11:28:35 +00:00
2024-02-08 17:12:54 +00:00
2024-02-03 22:08:26 +00:00
2023-05-05 11:07:25 +01:00
2023-09-03 10:34:20 +01:00
2023-05-22 10:53:49 +01:00
2024-06-05 05:57:12 -07:00
2024-03-05 12:24:49 +00:00
2024-05-23 08:55:01 -07:00
2023-09-26 10:35:27 +01:00
2023-12-02 17:18:57 +00:00
2024-05-03 06:12:22 -07:00
2024-03-07 17:25:02 +00:00
2023-06-27 16:23:40 +01:00
2023-03-11 00:08:41 +00:00
2023-11-23 12:46:42 +00:00
2023-09-26 10:35:27 +01:00
2023-04-13 11:56:07 +01:00
2023-01-06 12:03:47 +00:00
2024-03-07 17:25:02 +00:00
2024-03-30 22:22:19 +00:00
2023-12-21 10:38:29 +00:00
2024-03-01 09:28:51 +00:00
2024-03-07 17:25:03 +00:00
2024-05-03 06:12:21 -07:00
2024-02-06 10:32:19 +00:00
2024-03-01 09:28:52 +00:00
2024-03-18 12:21:45 +00:00