summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2012-04-23 14:35:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-23 23:07:05 +0100
commit64471e934051f646b1f8c813d45430ff26fe084b (patch)
treed8d4716ae288b60a35e66c09a6051e65faa55e31 /bitbake/lib/bb/ui/crumbs/hobeventhandler.py
parent4becd60e658ab720d46ef337b465f7a75ac7b189 (diff)
downloadpoky-64471e934051f646b1f8c813d45430ff26fe084b.tar.gz
hob: enable sanity checks after launch
To ensure the users configuration is sanity tested enable the sanity checks after the GUI has started but before any parsing is done. (Bitbake rev: 244ce2b900ae6cecbeeccfe2056e61c132476261) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index ebfc388f73..c918aad8dc 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -233,6 +233,9 @@ class HobHandler(gobject.GObject):
233 inherits = inherits + " " + bbclass 233 inherits = inherits + " " + bbclass
234 self.runCommand(["setVariable", "INHERIT", inherits]) 234 self.runCommand(["setVariable", "INHERIT", inherits])
235 235
236 def enable_sanity(self):
237 self.runCommand(["setVariable", "DISABLE_SANITY_CHECKS", "0"])
238
236 def set_bblayers(self, bblayers): 239 def set_bblayers(self, bblayers):
237 self.runCommand(["setVariable", "BBLAYERS_HOB", " ".join(bblayers)]) 240 self.runCommand(["setVariable", "BBLAYERS_HOB", " ".join(bblayers)])
238 241