runqueue: Fix sig file location when using multiconfig

Message ID 20220428141535.2876849-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 0ed800e19a3197f8e622c8d3b630aae384e60aba
Headers show
Series runqueue: Fix sig file location when using multiconfig | expand

Commit Message

Richard Purdie April 28, 2022, 2:15 p.m. UTC
We're using the wrong data store when trying to locate siginfo files,
fix this. Thanks to Gregory Lumen <gregorylumen@microsoft.com> for
spotting.

[YOCTO #14774]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/runqueue.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index a4e82f375c..f34f1568e2 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1674,7 +1674,7 @@  class RunQueue:
             (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
             pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn]
             h = self.rqdata.runtaskentries[tid].hash
-            matches = bb.siggen.find_siginfo(pn, taskname, [], self.cfgData)
+            matches = bb.siggen.find_siginfo(pn, taskname, [], self.cooker.databuilder.mcdata[mc])
             match = None
             for m in matches:
                 if h in m: