From: Cristiana Voicu Date: Tue, 25 Feb 2014 13:30:11 +0000 (+0200) Subject: hob: remove the code that adds hob layer to bblayers X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef32d27b33477a5cbf127cc8b98012b48e89ad07;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git hob: remove the code that adds hob layer to bblayers [YOCTO #5118] Signed-off-by: Cristiana Voicu Signed-off-by: Richard Purdie --- diff --git a/lib/bb/ui/crumbs/hobeventhandler.py b/lib/bb/ui/crumbs/hobeventhandler.py index e848405bbb1..cdf1eb5007c 100644 --- a/lib/bb/ui/crumbs/hobeventhandler.py +++ b/lib/bb/ui/crumbs/hobeventhandler.py @@ -511,13 +511,8 @@ class HobHandler(gobject.GObject): # retrieve the parameters from bitbake params = {} 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"]) or "" - if hob_layer not in params["layer"].split(): - params["layer"] += (" " + hob_layer) - if hob_layer not in params["layers_non_removable"].split(): - params["layers_non_removable"] += (" " + hob_layer) params["dldir"] = self.runCommand(["getVariable", "DL_DIR"]) or "" params["machine"] = self.runCommand(["getVariable", "MACHINE"]) or "" params["distro"] = self.runCommand(["getVariable", "DISTRO"]) or "defaultsetup"