[bitbake-devel] [PATCH] utils: only add layer once in edit_bblayers_conf()
Markus Lehtonen
markus.lehtonen at linux.intel.com
Thu Sep 24 13:02:23 UTC 2015
Prevent edit_bblayers_conf() from adding layer(s) multiple times. This
happened when BBLAYERS variable was "listed" multiple times in
bblayer.conf - i.e. the configuration was split into multiple separate
assignments.
[YOCTO #8316]
Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
---
lib/bb/utils.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/bb/utils.py b/lib/bb/utils.py
index 91faa49..9b550ef 100644
--- a/lib/bb/utils.py
+++ b/lib/bb/utils.py
@@ -1249,6 +1249,7 @@ def edit_bblayers_conf(bblayers_conf, add, remove):
bblayers.append(addlayer)
else:
notadded.append(addlayer)
+ del addlayers[:]
if updated:
return (bblayers, None, 2, False)
--
2.1.4
More information about the bitbake-devel
mailing list