summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-16 16:41:43 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-19 22:36:26 +0100
commit7a0f6ceb811a2b5d7cbfce45f40bbe1cbf305f49 (patch)
tree9624abd61f9cea585c0e6d3f8b1edd194108951c
parent3c539be84cbd4d1a5f07ebef22944f9807831874 (diff)
downloadpoky-7a0f6ceb811a2b5d7cbfce45f40bbe1cbf305f49.tar.gz
sanity.bbclass: Don't run the handler in worker context
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/classes/sanity.bbclass2
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):
211addhandler check_sanity_eventhandler 211addhandler check_sanity_eventhandler
212python check_sanity_eventhandler() { 212python check_sanity_eventhandler() {
213 from bb.event import Handled, NotHandled 213 from bb.event import Handled, NotHandled
214 if bb.event.getName(e) == "ConfigParsed": 214 if bb.event.getName(e) == "ConfigParsed" and bb.data.getVar("BB_WORKERCONTEXT", e.data, True) != "1":
215 check_sanity(e) 215 check_sanity(e)
216 216
217 return NotHandled 217 return NotHandled