* [PATCH 0/1] cooker.py: runqueue: fix for "bitbake -g world"
@ 2016-11-21 14:30 Robert Yang
2016-11-21 14:30 ` [PATCH 1/1] " Robert Yang
0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2016-11-21 14:30 UTC (permalink / raw)
To: bitbake-devel
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(+)
--
2.10.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] cooker.py: runqueue: fix for "bitbake -g world"
2016-11-21 14:30 [PATCH 0/1] cooker.py: runqueue: fix for "bitbake -g world" Robert Yang
@ 2016-11-21 14:30 ` Robert Yang
0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2016-11-21 14:30 UTC (permalink / raw)
To: bitbake-devel
From: Richard Purdie <richard.purdie@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@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-21 14:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-21 14:30 [PATCH 0/1] cooker.py: runqueue: fix for "bitbake -g world" Robert Yang
2016-11-21 14:30 ` [PATCH 1/1] " Robert Yang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.