]> code.ossystems Code Review - openembedded-core.git/commit
classes/populate_sdk_ext: force a known value for TMPDIR
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 19 Jan 2017 18:29:16 +0000 (07:29 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:45:54 +0000 (22:45 +0000)
commit4fe60d526a94f30b201c434994e80fef0f7392f0
treecd9356c2201c298cec2bf5abfe4aa3334250050f
parentedde4c52872fbd089f85b10b94db4d6ef1796be5
classes/populate_sdk_ext: force a known value for TMPDIR

If TMPDIR is configured to be somewhere outside of TOPDIR (a not
uncommon configuration where you have multiple disks and space on /home
is at a premium) then our attempt to find out the location of paths
under TMPDIR by using a relative path led to horribly broken paths
ending up in the eSDK. To save pain, just force a known value for TMPDIR
(i.e. ${TOPDIR}/tmp) and then we can assume that everywhere else.

Fixes [YOCTO #10797].

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
meta/recipes-core/meta/meta-environment-extsdk.bb