summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-12-05 16:09:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-05 16:27:13 +0000
commit2bd4c2be9ffc71d6e7b21ce75c228a70ed00e6d2 (patch)
treee402be41035f9e2f5b6980e439b97311e4719211 /bitbake
parentf19546e02d3318ee69fd0c34e21aa97b74c987ec (diff)
downloadast2050-yocto-poky-2bd4c2be9ffc71d6e7b21ce75c228a70ed00e6d2.zip
ast2050-yocto-poky-2bd4c2be9ffc71d6e7b21ce75c228a70ed00e6d2.tar.gz
bitbake: hob: changes to INHERIT var should use "append" operation
Setting INHERIT var means to remove other operations made on INHERIT. This is too intrusive, so we decided to use append for this case. [YOCTO #5448] (Bitbake rev: a2d0122c198ee50325e6f0e2f5d1c2284475fc7b) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index ce8584d..7014935 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -306,9 +306,7 @@ class HobHandler(gobject.GObject):
self.runCommand(["createConfigFile", ".hob.conf"])
def set_extra_inherit(self, bbclass):
- inherits = self.runCommand(["getVariable", "INHERIT"]) or ""
- inherits = inherits + " " + bbclass
- self.set_var_in_file("INHERIT", inherits, ".hob.conf")
+ self.append_var_in_file("INHERIT", bbclass, ".hob.conf")
def set_bblayers(self, bblayers):
self.set_var_in_file("BBLAYERS", " ".join(bblayers), "bblayers.conf")
OpenPOWER on IntegriCloud