diff options
author | Jeffery To <jeffery.to@gmail.com> | 2023-05-31 21:58:34 +0800 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-11-08 17:18:15 +0100 |
commit | bb2b55f3767ad02d8de8c9255cdf2573689a7b26 (patch) | |
tree | 75c6151a6e51871e216f011ca1051c232e6fcf13 /package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | |
parent | f71ab69b848a43fc6daba215ccfcc41d2d516349 (diff) | |
download | upstream-bb2b55f3767ad02d8de8c9255cdf2573689a7b26.tar.gz upstream-bb2b55f3767ad02d8de8c9255cdf2573689a7b26.tar.bz2 upstream-bb2b55f3767ad02d8de8c9255cdf2573689a7b26.zip |
build: export GIT_CEILING_DIRECTORIES for package builds
A package may run git as part of its build process, and if the package
source code is not from a git checkout, then git may traverse up the
directory tree to find buildroot's repository directory (.git).
For instance, Poetry Core, a Python build backend, will read the
contents of .gitignore for paths to exclude when creating a Python
package. If it finds buildroot's .gitignore file, then Poetry Core will
exclude all of the package's files[1].
This exports GIT_CEILING_DIRECTORIES for both package and host builds so
that git will not traverse beyond $(BUILD_DIR)/$(BUILD_DIR_HOST).
[1]: https://github.com/python-poetry/poetry/issues/5547
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit f597f34f3afa7bba8a2606490617688f1cea5a44)
Diffstat (limited to 'package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh')
0 files changed, 0 insertions, 0 deletions