]> code.ossystems Code Review - openembedded-core.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:20:05 +0000 (22:20 +0100)
commit038d9db66e69c9de12eb8581acb28a8facd726b6
tree6da145c7aba2e7ab975423c08496aef4c910aa17
parent6b527bbfea5088c20da98cd72abe5caa4b399787
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass