[bitbake-devel] [PATCH 1/1] cooker.py: runqueue: fix for "bitbake -g world"
Robert Yang
liezhi.yang at windriver.com
Mon Nov 21 14:30:29 UTC 2016
From: Richard Purdie <richard.purdie at linuxfoundation.org>
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]
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
bitbake/lib/bb/cooker.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index c08af45..4f034c1 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -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()
--
2.10.2
More information about the bitbake-devel
mailing list