diff options
| author | Julien Stephan <jstephan@baylibre.com> | 2023-09-25 10:04:49 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-28 12:38:26 +0100 |
| commit | 8eeb58cf4a34546ca0c5dd6518ece317d8706c40 (patch) | |
| tree | 42d7fff81a4156291cdc39a59909ace17140fca4 /bitbake/lib/bb/event.py | |
| parent | fc5a15cc646b994edd26cd9d5040c8bad6634dc3 (diff) | |
| download | poky-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/event.py')
| -rw-r--r-- | bitbake/lib/bb/event.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 0d0e0a68aa..f8acacd80d 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
| @@ -857,6 +857,14 @@ class FindSigInfoResult(Event): | |||
| 857 | Event.__init__(self) | 857 | Event.__init__(self) |
| 858 | self.result = result | 858 | self.result = result |
| 859 | 859 | ||
| 860 | class GetTaskSignatureResult(Event): | ||
| 861 | """ | ||
| 862 | Event to return results from GetTaskSignatures command | ||
| 863 | """ | ||
| 864 | def __init__(self, sig): | ||
| 865 | Event.__init__(self) | ||
| 866 | self.sig = sig | ||
| 867 | |||
| 860 | class ParseError(Event): | 868 | class ParseError(Event): |
| 861 | """ | 869 | """ |
| 862 | Event to indicate parse failed | 870 | Event to indicate parse failed |
