summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
authorJulien Stephan <jstephan@baylibre.com>2023-09-25 10:04:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-28 12:38:26 +0100
commit8eeb58cf4a34546ca0c5dd6518ece317d8706c40 (patch)
tree42d7fff81a4156291cdc39a59909ace17140fca4 /bitbake/lib/bb/command.py
parentfc5a15cc646b994edd26cd9d5040c8bad6634dc3 (diff)
downloadpoky-8eeb58cf4a34546ca0c5dd6518ece317d8706c40.tar.gz
bitbake: bitbake: cooker: add a new function to retrieve task signatures
adding a new command in cooker to compute and get task signatures this commit also add the associated command and event needed to get the signatures using tinfoil (Bitbake rev: 05c15162de90c41dad67e37a95ec9fdb440a7864) Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 8663eed933..f2ee587161 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -781,3 +781,9 @@ class CommandsAsync:
781 bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.databuilder.mcdata[mc]) 781 bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.databuilder.mcdata[mc])
782 command.finishAsyncCommand() 782 command.finishAsyncCommand()
783 findSigInfo.needcache = False 783 findSigInfo.needcache = False
784
785 def getTaskSignatures(self, command, params):
786 res = command.cooker.getTaskSignatures(params[0], params[1])
787 bb.event.fire(bb.event.GetTaskSignatureResult(res), command.cooker.data)
788 command.finishAsyncCommand()
789 getTaskSignatures.needcache = True