mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
sanity.bbclass: Don't run the handler in worker context
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -211,7 +211,7 @@ def check_sanity(e):
|
|||||||
addhandler check_sanity_eventhandler
|
addhandler check_sanity_eventhandler
|
||||||
python check_sanity_eventhandler() {
|
python check_sanity_eventhandler() {
|
||||||
from bb.event import Handled, NotHandled
|
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)
|
check_sanity(e)
|
||||||
|
|
||||||
return NotHandled
|
return NotHandled
|
||||||
|
|||||||
Reference in New Issue
Block a user