cooker: Fix task-depends.dot for multiconfig targets
PATCH 1/1 cooker: Fix task-depends.dot for multiconfig targets
The right hand side of dependencies in the task dependency file generated by bitbake -g was missing multiconfig prefixes, corrupting the data. Fix this.
[YOCTO #14621]
Signed-off-by Richard Purdie <[email protected]>
--- lib/bb/cooker.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
lib/bb/cooker.py +3 -1
@@ -814,7 +814,9 @@ class BBCooker: for dep in rq.rqdata.runtaskentries[tid].depends: (depmc, depfn, _, deptaskfn) = bb.runqueue.split_tid_mcfn(dep) deppn = self.recipecaches[depmc].pkg_fn[deptaskfn] - depend_tree["tdepends"][dotname].append("%s.%s" % (deppn, bb.runqueue.taskname_from_tid(dep))) + if depmc: + depmc = "mc:" + depmc + ":" + depend_tree["tdepends"][dotname].append("%s%s.%s" % (depmc, deppn, bb.runqueue.taskname_from_tid(dep))) if taskfn not in seen_fns: seen_fns.append(taskfn) packages = []
Signature · 1 line
2.32.0