From 64471e934051f646b1f8c813d45430ff26fe084b Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 23 Apr 2012 14:35:44 -0700 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py') 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): 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)]) -- cgit v1.2.3-54-g00ecf