aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-22 21:23:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-23 16:50:51 +0100
commitcc11dfa4eb3616547a8a3909f89da0cc4f35dc57 (patch)
treec7fb3cf91970febbc14e8e9235e1bdd77158c984
parentfb80389d2ce62e15e354c6ea288c9a4bbe0040f6 (diff)
downloadbitbake-cc11dfa4eb3616547a8a3909f89da0cc4f35dc57.tar.gz
bitbake-cc11dfa4eb3616547a8a3909f89da0cc4f35dc57.tar.bz2
bitbake-cc11dfa4eb3616547a8a3909f89da0cc4f35dc57.zip
cooker: Handle multiconfig name mappings correctly2020-04.2-dunfell1.46.2
"bitbake mc:arm:bash mc:arm:busybox" works but "bitbake multiconfig:arm:bash multiconfig:arm:busybox" does not. The reason is the list is modified whilst iterating. Don't do that. [YOCTO #13607] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index e527e231..d90bd394 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1592,7 +1592,7 @@ class BBCooker:
raise NothingToBuild
ignore = (self.data.getVar("ASSUME_PROVIDED") or "").split()
- for pkg in pkgs_to_build:
+ for pkg in pkgs_to_build.copy():
if pkg in ignore:
parselog.warning("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg)
if pkg.startswith("multiconfig:"):