]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto: error if meta data not present
authorBruce Ashfield <bruce.ashfield@windriver.com>
Sat, 7 May 2011 04:08:30 +0000 (00:08 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 May 2011 08:51:55 +0000 (09:51 +0100)
commitadf9f92e2f8f6cc3deba72a194ded85e160ad9e3
tree6a2f81b795610939ade7af4ae1b6ad531845b706
parent9187ac0173f26c6a621229ff588f495e9967e665
linux-yocto: error if meta data not present

There are valid reasons to build repositories without meta
data present and there are times when this is an error. This
change adds sanity tests to the build process to detect missing
meta data and throw an informative error message.

Sanity checking is only triggered from recipes (linux-yocto)
that always require meta data to be present. Other recipes
are not impacted and can auto-generate meta data as required.

Without this change the build process suceeds, but incorrect
meta data will be used (with no user knowledge), which is not
the desired behaviour.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/classes/kernel-yocto.bbclass
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
meta/recipes-kernel/linux/linux-yocto_git.bb