]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oe-selftest: Improve BUILDDIR environment handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Jan 2017 23:34:30 +0000 (23:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Jan 2017 13:54:06 +0000 (13:54 +0000)
commitf2b847a29092533a66bdd3a7e13e1b1356055265
tree96731cba7f8d3127a005387382068ed6184556eb
parentb359e926e238fd84362eb6c1232dfb35a66b59dd
oe-selftest: Improve BUILDDIR environment handling

Its possible something (like bitbake/tinfoil2) may mess around with the
environment and using the enviroment as a global variable store isn't
particularly nice anyway.

This patch changes the BUILDDIR usages so that the environment isn't used
as a global store and a global variable is used instead. Whilst that
is still not perfect, it does avoid the current double and triple backtraces
we're seeing where tinfoil2/bitbake has trampled the enviroment leading
to failures of failures making debugging even harder.

(From OE-Core rev: 689b676bbf2f1a5fadb04aeb41d5e68e35356545)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-selftest