| Submitter | Joshua Lock |
|---|---|
| Date | April 23, 2012, 9:36 p.m. |
| Message ID | <7146d9f171e6527a3cf92c5ab18c24939dc9f897.1335216873.git.josh@linux.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/26353/ |
| State | Accepted |
| Commit | b022641f939bcfcdaddddc4db3af4d2dc70de832 |
| Headers | show |
Comments
Patch
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 9cd04c4..c3d4e58 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -453,7 +453,7 @@ def check_sanity(e): addhandler check_sanity_eventhandler python check_sanity_eventhandler() { - if bb.event.getName(e) == "ConfigParsed" and e.data.getVar("BB_WORKERCONTEXT", True) != "1": + 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) return
It's useful for Hob to be able to disable the sanity checks completely without marking them as passed so that the user can get into the GUI to configure their settings, etc. Add a variable, DISABLE_SANITY_CHECKS, to do so. Signed-off-by: Joshua Lock <josh@linux.intel.com> --- meta/classes/sanity.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)