diff options
Diffstat (limited to 'meta')
-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 ff258349b5..a2b45bcda9 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -543,7 +543,7 @@ def copy_data(e): | |||
543 | 543 | ||
544 | addhandler check_sanity_eventhandler | 544 | addhandler check_sanity_eventhandler |
545 | python check_sanity_eventhandler() { | 545 | python check_sanity_eventhandler() { |
546 | if bb.event.getName(e) == "ConfigParsed" and e.data.getVar("BB_WORKERCONTEXT", True) != "1" and e.data.getVar("DISABLE_SANITY_CHECKS", True) != "1": | 546 | if bb.event.getName(e) == "BuildStarted" and e.data.getVar("BB_WORKERCONTEXT", True) != "1" and e.data.getVar("DISABLE_SANITY_CHECKS", True) != "1": |
547 | sanity_data = copy_data(e) | 547 | sanity_data = copy_data(e) |
548 | check_sanity(sanity_data) | 548 | check_sanity(sanity_data) |
549 | elif bb.event.getName(e) == "SanityCheck": | 549 | elif bb.event.getName(e) == "SanityCheck": |