Skip to contentSkip to conversation

bitbake: command: Handle multiconfig in findSigInfo

PATCH New Joshua Watt 1 participant 1 message Jul 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake: command: Handle multiconfig in findSigInfo

Changes the findSigInfo command to accept a recipe specified with the multiconfig prefix

---
 bitbake/lib/bb/command.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
bitbake/lib/bb/command.py +3 -3
index 805ed9216c..48a7f1a158 100644
@@ -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
Signature · 1 line
2.27.0