aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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:03 +0000
commita40ceda3b349c4461f4b7bc0e18cd966fff5e3cf (patch)
treea942e7d5f5513cdef41fe9cb7e452f0305eceafc /lib
parentd7a5185cae975eaca50a9785c6605e895dc7bb51 (diff)
downloadbitbake-a40ceda3b349c4461f4b7bc0e18cd966fff5e3cf.tar.gz
hob: when BBLAYERS_NON_REMOVABLE is not set hob shows an error
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/ui/crumbs/hobeventhandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/crumbs/hobeventhandler.py b/lib/bb/ui/crumbs/hobeventhandler.py
index ae1cefc53..8a2ac5fb6 100644
--- a/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/lib/bb/ui/crumbs/hobeventhandler.py
@@ -435,7 +435,7 @@ class HobHandler(gobject.GObject):
params["core_base"] = self.runCommand(["getVariable", "COREBASE"]) or ""
hob_layer = params["core_base"] + "/meta-hob"
params["layer"] = self.runCommand(["getVariable", "BBLAYERS"]) or ""
- params["layers_non_removable"] = self.runCommand(["getVariable", "BBLAYERS_NON_REMOVABLE"])
+ params["layers_non_removable"] = self.runCommand(["getVariable", "BBLAYERS_NON_REMOVABLE"]) or ""
if hob_layer not in params["layer"].split():
params["layer"] += (" " + hob_layer)
if hob_layer not in params["layers_non_removable"].split():