From 0b80ef5f8a4b7261bf991b60d891235a6db7aae1 Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Mon, 3 Aug 2015 08:45:05 +0000 Subject: bitbake: 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. (Bitbake rev: a660787311d2961c66c0443bf0e2e094c9baef1b) Signed-off-by: Mariano Lopez Signed-off-by: Richard Purdie --- bitbake/lib/bb/runqueue.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 17a55d3d6e..0f99e5ab8e 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/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) -- cgit v1.2.3-54-g00ecf