]> 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 03:32:28 +0000 (15:32 +1200)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 14 Sep 2016 05:07:57 +0000 (17:07 +1200)
commite260f0007ce3970903b9e4c1ceee34eb16b6f705
tree49b436c950c665b80fd9d05ccd7c719b958eb264
parent4d268abc2fc892c5d34449f78c8e9f2b1a9d6bac
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].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/populate_sdk_ext.bbclass