]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
hob: when BBLAYERS_NON_REMOVABLE is not set hob shows an error
authorCristiana Voicu <cristiana.voicu@intel.com>
Tue, 27 Nov 2012 14:41:31 +0000 (16:41 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Nov 2012 09:19:03 +0000 (09:19 +0000)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/ui/crumbs/hobeventhandler.py

index ae1cefc538e92ba3c7242c83af92defd6902aa39..8a2ac5fb6c7d23cccd805028d72ecd3ddb33259f 100644 (file)
@@ -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():