summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-05-06 16:56:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-12 16:44:06 +0100
commit38c8316155fca5d3548b8af84d3fa4cee56750c3 (patch)
tree637587aa7d0020be07fefca73622d88a703b4a94
parent7868ccd57ab19659b8fa4cec3dfa0a3645c501ea (diff)
downloadpoky-38c8316155fca5d3548b8af84d3fa4cee56750c3.tar.gz
Revert "bitbake.conf: mark all directories as safe for git to read"
Turns out this doesn't actually work, as git doesn't respect the environment when reading the safe.directory configuration variable. This reverts commit d4a5862ce8db97d26a3c32c4cffea3197c1defec. (From OE-Core rev: 73087e3c4bf6792c37f0a9d8d006c09856d36b13) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e28dd48ffb84c8bb4356d889b70a4b876c8bbaf3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/bitbake.conf8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 1deba8d910..0e939aca4f 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -776,18 +776,10 @@ export PKG_CONFIG_DISABLE_UNINSTALLED = "yes"
776export PKG_CONFIG_SYSTEM_LIBRARY_PATH = "${base_libdir}:${libdir}" 776export PKG_CONFIG_SYSTEM_LIBRARY_PATH = "${base_libdir}:${libdir}"
777export PKG_CONFIG_SYSTEM_INCLUDE_PATH = "${includedir}" 777export PKG_CONFIG_SYSTEM_INCLUDE_PATH = "${includedir}"
778 778
779# Git configuration
780
781# Don't allow git to chdir up past WORKDIR so that it doesn't detect the OE 779# Don't allow git to chdir up past WORKDIR so that it doesn't detect the OE
782# repository when building a recipe 780# repository when building a recipe
783export GIT_CEILING_DIRECTORIES = "${WORKDIR}" 781export GIT_CEILING_DIRECTORIES = "${WORKDIR}"
784 782
785# Treat all directories are safe, as during fakeroot tasks git will run as
786# root so recent git releases (eg 2.30.3) will refuse to work on repositories. See
787# https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9 for
788# further details.
789export GIT_CONFIG_PARAMETERS="'safe.directory=*'"
790
791### 783###
792### Config file processing 784### Config file processing
793### 785###