cooker.py: runqueue: fix for "bitbake -g world"
cover cooker.py: runqueue: fix for "bitbake -g world"
The patch was from RP, I did some cleanup and sent it. morty branch also needs it.
// Robert
The following changes since commit 7c3a47ed8965c3a3eb90a9a4678d5caedbba6337:
bitbake: toaster: settings set ALLOWED_HOSTS to * in debug mode (2016-11-16 11:38:44 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib rbt/world_g
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/world_g
Richard Purdie (1):
cooker.py: runqueue: fix for "bitbake -g world"
bitbake/lib/bb/cooker.py | 3 +++ 1 file changed, 3 insertions(+)
Signature · 1 line
2.10.2
PATCH 1/1 cooker.py: runqueue: fix for "bitbake -g world"
From: Richard Purdie <[email protected]>
Fixed:
$ bitbake -g world
The pn-buildlist and *.dot are null, it was null, this was because generateTaskDepTreeData() didn't add the prefix "do_" to default task "build".
[YOCTO #10651]
--- bitbake/lib/bb/cooker.py | 3 +++ 1 file changed, 3 insertions(+)
bitbake/lib/bb/cooker.py +3 -0
@@ -715,6 +715,9 @@ class BBCooker: Create a dependency graph of pkgs_to_build including reverse dependency information. """ + if not task.startswith("do_"): + task = "do_%s" % task + runlist, taskdata = self.prepareTreeData(pkgs_to_build, task) rq = bb.runqueue.RunQueue(self, self.data, self.recipecaches, taskdata, runlist) rq.rqdata.prepare()
Signature · 1 line
2.10.2