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>
self.handler.init_cooker()
# set bb layers
self.handler.set_bblayers(self.configuration.layers)
+ # Re-enable sanity checks
+ self.handler.enable_sanity()
# set local configuration
self.handler.set_machine(self.configuration.curr_mach)
self.handler.set_package_format(self.configuration.curr_package_format)
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)])