]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/populate_sdk_ext: ensure we clean the right temporary TMPDIR path
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 14 Sep 2016 05:09:51 +0000 (17:09 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Sep 2016 21:22:12 +0000 (22:22 +0100)
commitca107522eb5115798f097602d39eb586edaabc4a
tree32e08d67d105b06137877989ca6cb79f16fcbb68
parent533315b747cd9331ea92506bdaa7b61e5635989b
classes/populate_sdk_ext: ensure we clean the right temporary TMPDIR path

After we run the build system within the eSDK internally as part of the
sstate filtering that happens during do_populate_sdk_ext, we need to
ensure that the TMPDIR created during that process gets deleted. However
we were using the TMPDIR path for the build producing the eSDK which may
not be the same (since that value would typically be filtered out) thus
if the user had set TMPDIR to something other than the default, the
temporary TMPDIR would not be deleted which not only led to extraneous
junk entering the SDK but also failures during install because the
TMPDIR path was different. In order to fix this, force TMPDIR to a known
value during the sstate filtering run so we know what to delete
afterwards.

Fixes [YOCTO #10210].

(From OE-Core rev: 038d9db66e69c9de12eb8581acb28a8facd726b6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass