mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
bitbake: cooker: Handle multiconfig name mappings correctly
"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] (Bitbake rev: cd041a78d96e656438d93fb1e288080b8a6fe8bd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1614,7 +1614,7 @@ class BBCooker:
|
|||||||
raise NothingToBuild
|
raise NothingToBuild
|
||||||
|
|
||||||
ignore = (self.data.getVar("ASSUME_PROVIDED") or "").split()
|
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:
|
if pkg in ignore:
|
||||||
parselog.warning("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg)
|
parselog.warning("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg)
|
||||||
if pkg.startswith("multiconfig:"):
|
if pkg.startswith("multiconfig:"):
|
||||||
|
|||||||
Reference in New Issue
Block a user