From ef32d27b33477a5cbf127cc8b98012b48e89ad07 Mon Sep 17 00:00:00 2001 From: Cristiana Voicu Date: Tue, 25 Feb 2014 15:30:11 +0200 Subject: [PATCH] hob: remove the code that adds hob layer to bblayers [YOCTO #5118] Signed-off-by: Cristiana Voicu Signed-off-by: Richard Purdie --- lib/bb/ui/crumbs/hobeventhandler.py | 5 ----- 1 file changed, 5 deletions(-) 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" -- 2.47.3