summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2012-11-27 16:41:31 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-28 09:19:46 +0000
commit4493b107a7f0f9b4f441f661c16176157d950245 (patch)
tree3e79b8c72bf3f2059219a0d52fad8c63f1cd151a
parentb629d940304ec65c2d799e0aa44d03562a784bd6 (diff)
downloadpoky-4493b107a7f0f9b4f441f661c16176157d950245.tar.gz
bitbake: hob: when BBLAYERS_NON_REMOVABLE is not set hob shows an error
(Bitbake rev: a40ceda3b349c4461f4b7bc0e18cd966fff5e3cf) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index ae1cefc538..8a2ac5fb6c 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -435,7 +435,7 @@ class HobHandler(gobject.GObject):
435 params["core_base"] = self.runCommand(["getVariable", "COREBASE"]) or "" 435 params["core_base"] = self.runCommand(["getVariable", "COREBASE"]) or ""
436 hob_layer = params["core_base"] + "/meta-hob" 436 hob_layer = params["core_base"] + "/meta-hob"
437 params["layer"] = self.runCommand(["getVariable", "BBLAYERS"]) or "" 437 params["layer"] = self.runCommand(["getVariable", "BBLAYERS"]) or ""
438 params["layers_non_removable"] = self.runCommand(["getVariable", "BBLAYERS_NON_REMOVABLE"]) 438 params["layers_non_removable"] = self.runCommand(["getVariable", "BBLAYERS_NON_REMOVABLE"]) or ""
439 if hob_layer not in params["layer"].split(): 439 if hob_layer not in params["layer"].split():
440 params["layer"] += (" " + hob_layer) 440 params["layer"] += (" " + hob_layer)
441 if hob_layer not in params["layers_non_removable"].split(): 441 if hob_layer not in params["layers_non_removable"].split():