diff options
author | Joshua Lock <josh@linux.intel.com> | 2012-04-23 14:35:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-23 23:04:22 +0100 |
commit | 7ddb8c8b68e5b9dab7f4f3a6b6f3c31b28414b96 (patch) | |
tree | 8537c42cfe952ebe67dafd70d1ebdc6ef74ac179 /bitbake | |
parent | fb0d7fc34fbaeb0057e742b0896bed3dc5bdcee1 (diff) | |
download | ast2050-yocto-poky-7ddb8c8b68e5b9dab7f4f3a6b6f3c31b28414b96.zip ast2050-yocto-poky-7ddb8c8b68e5b9dab7f4f3a6b6f3c31b28414b96.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')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index dd3ea95..cbcb3f1 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py @@ -557,6 +557,8 @@ class Builder(gtk.Window): 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) diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index ebfc388..c918aad 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)]) |