]> code.ossystems Code Review - openembedded-core.git/commit
classes/populate_sdk_ext: prevent invalid TEMPLATECONF entering eSDK
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 2 Nov 2016 02:31:05 +0000 (15:31 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Nov 2016 23:35:22 +0000 (23:35 +0000)
commit5ee32191a18013061dfa72e64713a94c5d321496
treede26e0c67d576672c78f814012dc0db69d06023d
parent61adaaa4348c670769f8750223977dbefe369ffb
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>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/populate_sdk_ext.bbclass