From 4493b107a7f0f9b4f441f661c16176157d950245 Mon Sep 17 00:00:00 2001 From: Cristiana Voicu Date: Tue, 27 Nov 2012 16:41:31 +0200 Subject: bitbake: hob: when BBLAYERS_NON_REMOVABLE is not set hob shows an error (Bitbake rev: a40ceda3b349c4461f4b7bc0e18cd966fff5e3cf) Signed-off-by: Cristiana Voicu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/ui') 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): 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(): -- cgit v1.2.3-54-g00ecf