]> code.ossystems Code Review - openembedded-core.git/commit
classes/sanity: send sanity check failure as a separate event for Hob
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 28 May 2012 17:10:50 +0000 (18:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 May 2012 10:09:41 +0000 (11:09 +0100)
commit49d8b7b8c3b18da64583637db207f1f064a5bdb2
treeaaec66ffb6d593b10d03a7f382947a0bc825ade4
parent8bfec8bf80b111174e4a6cf01db019b38638b31a
classes/sanity: send sanity check failure as a separate event for Hob

In order to show a friendlier error message within Hob that does not
bury the actual sanity error in our typical preamble about disabling
sanity checks, use a separate event to indicate that sanity checks
failed.

This change is intended to work together with the related change to
BitBake, however it has a check to ensure that it does not fail with
older versions that do not include that change.

Fixes [YOCTO #2336].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass