]> code.ossystems Code Review - openembedded-core.git/commit
classes/populate_sdk_ext: reset TCLIBCAPPEND to get consistent TMPDIR
authorMikko Ylinen <mikko.ylinen@linux.intel.com>
Thu, 13 Apr 2017 10:09:07 +0000 (13:09 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Apr 2017 22:57:38 +0000 (23:57 +0100)
commit9ec29153f279bb9e1dbcddc2c66e00fdbe3fd6e9
tree49bfb3597a2768d05315516499d494fe58731f50
parent4e059a5ceb6f44401154e89e37f56de1d664a7cb
classes/populate_sdk_ext: reset TCLIBCAPPEND to get consistent TMPDIR

populate_sdk_ext sets TMPDIR to a known static value with '/tmp' directory
name and that name is hard coded in a few places (e.g., in
meta-environment-extsdk.bb that writes the eSDK environment variables).

Distros that do not reset TCLIBCAPPEND (poky does) end up getting
TMPDIR = /tmp-${TCLIBCAPPEND} via defaultsetup.conf and that breaks
the functionality in eSDK that expects everything is in /tmp.

To get TMPDIR consistent, we also need to reset TCLIBCAPPEND in
populate_sdk_ext.bbclass.

Fixes: [YOCTO #11298]
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass