]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/populate_sdk_ext: prevent invalid TEMPLATECONF entering eSDK paule/templateconf
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 2 Nov 2016 01:59:31 +0000 (14:59 +1300)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 2 Nov 2016 02:29:52 +0000 (15:29 +1300)
commitd754a9ea1002d471bb7515f278e7e7dd23c3b045
treedbf14104a138221353726e49fd455fb892816477
parent7f61ead32f742cdc0c5ae3d6044791b1716b4269
classes/populate_sdk_ext: prevent invalid TEMPLATECONF entering eSDK

If you are using a repository which contains a .templateconf file that
sets TEMPLATECONF to point into a layer it contains, but you aren't
using that layer in your bblayers.conf, the eSDK would produce an error
during the preparation step of the installation. An example would be
using the poky repository but setting DISTRO to your own custom distro
and removing meta-poky from your bblayers.conf. The eSDK doesn't
support creating new build directories, so we don't care about the
templates and can thus force a known good value to prevent this from
happening.

Fixes [YOCTO #10568].

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