summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-21 14:40:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 13:04:19 +0000
commit7f837eb05f924996c89283ec8b74e46f6b5cd343 (patch)
tree35e2219acaeef3a88c4d6a871412f8e7e44e555a /bitbake
parent8e43f9a751f1637d483d48aa9a9a647d1e3d2003 (diff)
downloadast2050-yocto-poky-7f837eb05f924996c89283ec8b74e46f6b5cd343.zip
ast2050-yocto-poky-7f837eb05f924996c89283ec8b74e46f6b5cd343.tar.gz
bitbake/runqueue: Improve the setscene logging
When debugging setscene problems it was found that some extra debug messages were useful. This patch adds them. (Bitbake rev: cff2c258b77fde01d530a5923e553e6111b15eb5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/runqueue.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 5a5164b..86744fb 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1209,10 +1209,14 @@ class RunQueueExecuteTasks(RunQueueExecute):
for task in xrange(self.stats.total):
if task in self.rq.scenequeue_covered:
continue
+ logger.debug(1, 'Considering %s (%s): %s' % (task, self.rqdata.get_user_idstring(task), str(self.rqdata.runq_revdeps[task])))
+
if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered):
ok = True
for revdep in self.rqdata.runq_revdeps[task]:
if self.rqdata.runq_fnid[task] != self.rqdata.runq_fnid[revdep]:
+ logger.debug(1, 'Found "bad" dep %s (%s) for %s (%s)' % (revdep, self.rqdata.get_user_idstring(revdep), task, self.rqdata.get_user_idstring(task)))
+
ok = False
break
if ok:
OpenPOWER on IntegriCloud