From patchwork Tue Nov 27 14:41:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel] hob: when BBLAYERS_NON_REMOVABLE is not set hob shows an error Date: Tue, 27 Nov 2012 14:41:31 -0000 From: Cristiana Voicu X-Patchwork-Id: 39695 Message-Id: <1354027291-9341-1-git-send-email-cristiana.voicu@intel.com> To: bitbake-devel@lists.openembedded.org Signed-off-by: Cristiana Voicu --- bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index ae1cefc..8a2ac5f 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): 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():