diff options
author | Ross Burton <ross.burton@arm.com> | 2025-10-08 15:02:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-09 10:58:07 +0100 |
commit | 840d4fc3c5b86ed688d85b897f0a620ba73325c4 (patch) | |
tree | 5f140e7e5233e3e5dd0ca71e7dc068649058aa2a /meta/lib/patchtest/tests/pyparsing/common.py | |
parent | 9832099afcae0a6dbf4f5e5ab35b2d19ca202560 (diff) | |
download | poky-840d4fc3c5b86ed688d85b897f0a620ba73325c4.tar.gz |
bitbake.conf: add TMPDIR to GIT_CEILING_DIRECTORIES
We export GIT_CEILING_DIRECTORIES=WORKDIR to ensure that git calls
inside the builds don't find oe-core when they're meant to be looking
for the git repository of the source code.
However, this breaks for recipes that use work-shared (such as llvm), as
their working directory is outside of WORKDIR.
Solve this by adding TMPDIR to the list as a final catch, but keeping
WORKDIR first so that git will stop sooner in the general case.
This solves reproduciblity problems in LLVM, where for example lld's
version string would contain the URL and commit hash of the poky repo
being built.
(From OE-Core rev: f42f0185bd00e68ecc86a930487f21fc86214cfa)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/patchtest/tests/pyparsing/common.py')
0 files changed, 0 insertions, 0 deletions