diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-16 16:41:43 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-19 22:36:26 +0100 |
commit | 7a0f6ceb811a2b5d7cbfce45f40bbe1cbf305f49 (patch) | |
tree | 9624abd61f9cea585c0e6d3f8b1edd194108951c /meta/classes/sanity.bbclass | |
parent | 3c539be84cbd4d1a5f07ebef22944f9807831874 (diff) | |
download | openembedded-core-7a0f6ceb811a2b5d7cbfce45f40bbe1cbf305f49.tar.gz openembedded-core-7a0f6ceb811a2b5d7cbfce45f40bbe1cbf305f49.tar.bz2 openembedded-core-7a0f6ceb811a2b5d7cbfce45f40bbe1cbf305f49.zip |
sanity.bbclass: Don't run the handler in worker context
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index a595224a7f..15faa7e431 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -211,7 +211,7 @@ def check_sanity(e): addhandler check_sanity_eventhandler python check_sanity_eventhandler() { from bb.event import Handled, NotHandled - if bb.event.getName(e) == "ConfigParsed": + if bb.event.getName(e) == "ConfigParsed" and bb.data.getVar("BB_WORKERCONTEXT", e.data, True) != "1": check_sanity(e) return NotHandled |