runqueue.py: Add provides to taskdepdata
PATCH 1/1 runqueue.py: Add provides to taskdepdata
From: Mariano Lopez <[email protected]>
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 <[email protected]>
--- lib/bb/runqueue.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
lib/bb/runqueue.py +2 -1
@@ -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)
Signature · 1 line
1.8.4.5