Bug 2361: Add two new events for Hob use.
Hi Richard,
This pull request is for bug 2361, please help to review and pull.
Thanks,
Dongxiao
The following changes since commit 85bebd85c4f6603ac8fc1290121c34b92cc434f9:
self-hosted-image: Update poky revision to point at the 1.2 release branch (2012-04-23 23:12:29 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib dxu4/hob-bugfix-oecore
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/hob-bugfix-oecore
Dongxiao Xu (1):
sanity.bbclass: Add a new case to issue sanity_check()
meta/classes/sanity.bbclass | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.4.1
PATCH 1/1 sanity.bbclass: Add a new case to issue sanity_check()
Judge if "SanityCheck" event is received, it will issue the sanity_check() and send "SanityCheckPassed" back if succeeded.
Signed-off-by Dongxiao Xu <[email protected]>
--- meta/classes/sanity.bbclass | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
meta/classes/sanity.bbclass +3 -0
@@ -455,6 +455,9 @@ addhandler check_sanity_eventhandler python check_sanity_eventhandler() { if bb.event.getName(e) == "ConfigParsed" and e.data.getVar("BB_WORKERCONTEXT", True) != "1" and e.data.getVar("DISABLE_SANITY_CHECKS", True) != "1": check_sanity(e) + elif bb.event.getName(e) == "SanityCheck": + check_sanity(e) + bb.event.fire(bb.event.SanityCheckPassed(), e.data) return }
Signature · 1 line
1.7.4.1