diff options
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 0e939aca4f..1deba8d910 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -776,10 +776,18 @@ export PKG_CONFIG_DISABLE_UNINSTALLED = "yes" | |||
776 | export PKG_CONFIG_SYSTEM_LIBRARY_PATH = "${base_libdir}:${libdir}" | 776 | export PKG_CONFIG_SYSTEM_LIBRARY_PATH = "${base_libdir}:${libdir}" |
777 | export PKG_CONFIG_SYSTEM_INCLUDE_PATH = "${includedir}" | 777 | export PKG_CONFIG_SYSTEM_INCLUDE_PATH = "${includedir}" |
778 | 778 | ||
779 | # Git configuration | ||
780 | |||
779 | # Don't allow git to chdir up past WORKDIR so that it doesn't detect the OE | 781 | # Don't allow git to chdir up past WORKDIR so that it doesn't detect the OE |
780 | # repository when building a recipe | 782 | # repository when building a recipe |
781 | export GIT_CEILING_DIRECTORIES = "${WORKDIR}" | 783 | export GIT_CEILING_DIRECTORIES = "${WORKDIR}" |
782 | 784 | ||
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. | ||
789 | export GIT_CONFIG_PARAMETERS="'safe.directory=*'" | ||
790 | |||
783 | ### | 791 | ### |
784 | ### Config file processing | 792 | ### Config file processing |
785 | ### | 793 | ### |