summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-05 11:38:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-05 11:59:08 +0000
commit859786a83f8bb826d3cd89c08bd9596fc7cf2474 (patch)
treed69e873b6fd4abe18fd559cf90221986869ae3ef /bitbake/lib/bb/command.py
parentcc85c8eb9d96e91a7767e92c86f0d7f2960b093b (diff)
downloadpoky-859786a83f8bb826d3cd89c08bd9596fc7cf2474.tar.gz
bitbake: siggen: Ensure version of siggen is verified
Since we need to change the form of the siggen function, we need to add versioning and some verison checks. This means if a newer bitbake is used with older metadata we can detect it. (Bitbake rev: 721556568413508213d22c29985e305a45a8d68a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 79b6c0738f..1fcb9bf14c 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -777,6 +777,7 @@ class CommandsAsync:
777 (mc, pn) = bb.runqueue.split_mc(params[0]) 777 (mc, pn) = bb.runqueue.split_mc(params[0])
778 taskname = params[1] 778 taskname = params[1]
779 sigs = params[2] 779 sigs = params[2]
780 bb.siggen.check_siggen_version(bb.siggen)
780 res = bb.siggen.find_siginfo(pn, taskname, sigs, command.cooker.databuilder.mcdata[mc]) 781 res = bb.siggen.find_siginfo(pn, taskname, sigs, command.cooker.databuilder.mcdata[mc])
781 bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.databuilder.mcdata[mc]) 782 bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.databuilder.mcdata[mc])
782 command.finishAsyncCommand() 783 command.finishAsyncCommand()