]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
runqueue: Add the taskhash to BB_TASKDEPDATA
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Dec 2016 12:04:44 +0000 (12:04 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Dec 2016 12:24:33 +0000 (12:24 +0000)
Its useful to know the task hash in code using TASKDEPDATA so add this
data to the data structure. The recipe specific sysroots in OE
need this data.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/runqueue.py

index 3d8ae1f48bcc2533fadc3005bd4550236b620516..f00a3ce2263b260065bcdf638b793ada83440b6c 100644 (file)
@@ -1853,7 +1853,8 @@ class RunQueueExecuteTasks(RunQueueExecute):
                 pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn]
                 deps = self.rqdata.runtaskentries[revdep].depends
                 provides = self.rqdata.dataCaches[mc].fn_provides[taskfn]
-                taskdepdata[revdep] = [pn, taskname, fn, deps, provides]
+                taskhash = self.rqdata.runtaskentries[revdep].hash
+                taskdepdata[revdep] = [pn, taskname, fn, deps, provides, taskhash]
                 for revdep2 in deps:
                     if revdep2 not in taskdepdata:
                         additional.append(revdep2)