All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1][PULL] Bug 2361: Add two new events for Hob use.
@ 2012-04-24  8:18 Dongxiao Xu
  2012-04-24  8:18 ` [PATCH 1/1] sanity.bbclass: Add a new case to issue sanity_check() Dongxiao Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Dongxiao Xu @ 2012-04-24  8:18 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
1.7.4.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] sanity.bbclass: Add a new case to issue sanity_check()
  2012-04-24  8:18 [PATCH 0/1][PULL] Bug 2361: Add two new events for Hob use Dongxiao Xu
@ 2012-04-24  8:18 ` Dongxiao Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Dongxiao Xu @ 2012-04-24  8:18 UTC (permalink / raw)
  To: openembedded-core

Judge if "SanityCheck" event is received, it will issue the
sanity_check() and send "SanityCheckPassed" back if succeeded.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
 meta/classes/sanity.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index c3d4e58..687ddeb 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -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
 }
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-24  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-24  8:18 [PATCH 0/1][PULL] Bug 2361: Add two new events for Hob use Dongxiao Xu
2012-04-24  8:18 ` [PATCH 1/1] sanity.bbclass: Add a new case to issue sanity_check() Dongxiao Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.