diff options
| -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 c2cb2f0d9d..51253003fd 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
| @@ -730,10 +730,18 @@ export PKG_CONFIG_DISABLE_UNINSTALLED = "yes" | |||
| 730 | export PKG_CONFIG_SYSTEM_LIBRARY_PATH = "${base_libdir}:${libdir}" | 730 | export PKG_CONFIG_SYSTEM_LIBRARY_PATH = "${base_libdir}:${libdir}" |
| 731 | export PKG_CONFIG_SYSTEM_INCLUDE_PATH = "${includedir}" | 731 | export PKG_CONFIG_SYSTEM_INCLUDE_PATH = "${includedir}" |
| 732 | 732 | ||
| 733 | # Git configuration | ||
| 734 | |||
| 733 | # Don't allow git to chdir up past WORKDIR so that it doesn't detect the OE | 735 | # Don't allow git to chdir up past WORKDIR so that it doesn't detect the OE |
| 734 | # repository when building a recipe | 736 | # repository when building a recipe |
| 735 | export GIT_CEILING_DIRECTORIES = "${WORKDIR}" | 737 | export GIT_CEILING_DIRECTORIES = "${WORKDIR}" |
| 736 | 738 | ||
| 739 | # Treat all directories are safe, as during fakeroot tasks git will run as | ||
| 740 | # root so recent git releases (eg 2.30.3) will refuse to work on repositories. See | ||
| 741 | # https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9 for | ||
| 742 | # further details. | ||
| 743 | export GIT_CONFIG_PARAMETERS="'safe.directory=*'" | ||
| 744 | |||
| 737 | ### | 745 | ### |
| 738 | ### Config file processing | 746 | ### Config file processing |
| 739 | ### | 747 | ### |
