summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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