]> 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)
committerScott Garman <scott.a.garman@intel.com>
Tue, 12 Jun 2012 20:29:30 +0000 (13:29 -0700)
commit3788f9bcb36cca90ca8cf650c9d33f5485e3087b
tree078416e2349887736cb32261701f5c3bf8312cfc
parent527e26ea1e44f114fc9fcec1bc7d83156dba1a70
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