summaryrefslogtreecommitdiffstats
path: root/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2015-08-03 08:45:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-06 16:04:19 -0500
commita660787311d2961c66c0443bf0e2e094c9baef1b (patch)
tree00b654172369d2408d1ff0c07cb9be1bf2ab82c3 /lib/bb/runqueue.py
parentb4c389443bdd121121fd1d1a9006a9f1f63f186f (diff)
downloadbitbake-contrib-a660787311d2961c66c0443bf0e2e094c9baef1b.tar.gz
runqueue.py: Add provides to taskdepdata
Currently bitbake is the only one that knows the relation between PN and PROVIDES. In some cases it is needed to have this relation in the data store (the bootloader it's a good case). This adds the PROVIDES to the taskdata, so it would be in the data store as one field of BB_TASKDEPDATA. Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r--lib/bb/runqueue.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 17a55d3d6..0f99e5ab8 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1630,7 +1630,8 @@ class RunQueueExecuteTasks(RunQueueExecute):
pn = self.rqdata.dataCache.pkg_fn[fn]
taskname = self.rqdata.runq_task[revdep]
deps = self.rqdata.runq_depends[revdep]
- taskdepdata[revdep] = [pn, taskname, fn, deps]
+ provides = self.rqdata.dataCache.fn_provides[fn]
+ taskdepdata[revdep] = [pn, taskname, fn, deps, provides]
for revdep2 in deps:
if revdep2 not in taskdepdata:
additional.append(revdep2)