bitbake: cooker: Fix incorrect dot file generation
In the runqueue cleanup/conversion, "dep" was mistakenly used where "tid" should be leading to incorrect task-depends.dot files and causing general confusion. Fix this, its clearly incorrect looking at the code. (Bitbake rev: 689730dbb068c5ea3593e7b92fe5d5e5c0c3760a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
1bf1e2c208
commit
90436919f8
|
@ -744,7 +744,7 @@ class BBCooker:
|
||||||
for dep in rq.rqdata.runtaskentries[tid].depends:
|
for dep in rq.rqdata.runtaskentries[tid].depends:
|
||||||
depfn = bb.runqueue.fn_from_tid(dep)
|
depfn = bb.runqueue.fn_from_tid(dep)
|
||||||
deppn = self.recipecache.pkg_fn[depfn]
|
deppn = self.recipecache.pkg_fn[depfn]
|
||||||
dotname = "%s.%s" % (pn, bb.runqueue.taskname_from_tid(dep))
|
dotname = "%s.%s" % (pn, bb.runqueue.taskname_from_tid(tid))
|
||||||
if not dotname in depend_tree["tdepends"]:
|
if not dotname in depend_tree["tdepends"]:
|
||||||
depend_tree["tdepends"][dotname] = []
|
depend_tree["tdepends"][dotname] = []
|
||||||
depend_tree["tdepends"][dotname].append("%s.%s" % (deppn, bb.runqueue.taskname_from_tid(dep)))
|
depend_tree["tdepends"][dotname].append("%s.%s" % (deppn, bb.runqueue.taskname_from_tid(dep)))
|
||||||
|
|
Loading…
Reference in New Issue