[bitbake-devel] bitbake: command: Handle multiconfig in findSigInfo

Submitted by Joshua Watt on July 23, 2020, 1:20 p.m. | Patch ID: 174651

Details

Message ID 20200723132012.28287-1-JPEWhacker@gmail.com
State New
Headers show

Commit Message

Joshua Watt July 23, 2020, 1:20 p.m.
Changes the findSigInfo command to accept a recipe specified with the
multiconfig prefix

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 bitbake/lib/bb/command.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 805ed9216c..48a7f1a158 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -723,10 +723,10 @@  class CommandsAsync:
         """
         Find signature info files via the signature generator
         """
-        pn = params[0]
+        (mc, pn) = bb.runqueue.split_mc(params[0])
         taskname = params[1]
         sigs = params[2]
-        res = bb.siggen.find_siginfo(pn, taskname, sigs, command.cooker.data)
-        bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.data)
+        res = bb.siggen.find_siginfo(pn, taskname, sigs, command.cooker.databuilder.mcdata[mc])
+        bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.databuilder.mcdata[mc])
         command.finishAsyncCommand()
     findSigInfo.needcache = False