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>
This commit is contained in:
Joshua Lock
2012-04-23 14:35:44 -07:00
committed by Richard Purdie
parent fb0d7fc34f
commit 7ddb8c8b68
2 changed files with 5 additions and 0 deletions

View File

@@ -233,6 +233,9 @@ class HobHandler(gobject.GObject):
inherits = inherits + " " + bbclass
self.runCommand(["setVariable", "INHERIT", inherits])
def enable_sanity(self):
self.runCommand(["setVariable", "DISABLE_SANITY_CHECKS", "0"])
def set_bblayers(self, bblayers):
self.runCommand(["setVariable", "BBLAYERS_HOB", " ".join(bblayers)])