diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2014-02-25 15:30:11 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-28 14:48:40 +0000 |
commit | 2557667aa0961c360ec31079ab3e4860458f842c (patch) | |
tree | cc86851a6697c16119733c43373046c4f383299f | |
parent | ed19ed0db163acf9556048d01466b074403a0336 (diff) | |
download | poky-2557667aa0961c360ec31079ab3e4860458f842c.tar.gz |
bitbake: hob: remove the code that adds hob layer to bblayers
[YOCTO #5118]
(Bitbake rev: ef32d27b33477a5cbf127cc8b98012b48e89ad07)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index e848405bbb..cdf1eb5007 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -511,13 +511,8 @@ class HobHandler(gobject.GObject): | |||
511 | # retrieve the parameters from bitbake | 511 | # retrieve the parameters from bitbake |
512 | params = {} | 512 | params = {} |
513 | params["core_base"] = self.runCommand(["getVariable", "COREBASE"]) or "" | 513 | params["core_base"] = self.runCommand(["getVariable", "COREBASE"]) or "" |
514 | hob_layer = params["core_base"] + "/meta-hob" | ||
515 | params["layer"] = self.runCommand(["getVariable", "BBLAYERS"]) or "" | 514 | params["layer"] = self.runCommand(["getVariable", "BBLAYERS"]) or "" |
516 | params["layers_non_removable"] = self.runCommand(["getVariable", "BBLAYERS_NON_REMOVABLE"]) or "" | 515 | params["layers_non_removable"] = self.runCommand(["getVariable", "BBLAYERS_NON_REMOVABLE"]) or "" |
517 | if hob_layer not in params["layer"].split(): | ||
518 | params["layer"] += (" " + hob_layer) | ||
519 | if hob_layer not in params["layers_non_removable"].split(): | ||
520 | params["layers_non_removable"] += (" " + hob_layer) | ||
521 | params["dldir"] = self.runCommand(["getVariable", "DL_DIR"]) or "" | 516 | params["dldir"] = self.runCommand(["getVariable", "DL_DIR"]) or "" |
522 | params["machine"] = self.runCommand(["getVariable", "MACHINE"]) or "" | 517 | params["machine"] = self.runCommand(["getVariable", "MACHINE"]) or "" |
523 | params["distro"] = self.runCommand(["getVariable", "DISTRO"]) or "defaultsetup" | 518 | params["distro"] = self.runCommand(["getVariable", "DISTRO"]) or "defaultsetup" |