summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-20 12:54:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-30 17:23:35 +0100
commit155249b1db2a038c811b957d58b1d1ac9e798bdb (patch)
tree0a101170ffcdd1db62582d9a8af9606baba75904
parentd0b7471ba89e6c7c1c00019bfe6c6c0aea94dd5a (diff)
downloadpoky-155249b1db2a038c811b957d58b1d1ac9e798bdb.tar.gz
bitbake: siggen: Ensure setscenetasks list is available to worker context
The setscenetasks list needs to be available in the worker contexts else the signature behaviour there mismatches what the server does. Add the data to get/set_taskdata to ensure this happens. (Bitbake rev: 632980ef90fe126b7ba3d138f4d574ae05914779) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/siggen.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 2b51967c02..71fa018227 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -44,6 +44,7 @@ class SignatureGenerator(object):
44 self.file_checksum_values = {} 44 self.file_checksum_values = {}
45 self.taints = {} 45 self.taints = {}
46 self.unitaskhashes = {} 46 self.unitaskhashes = {}
47 self.setscenetasks = {}
47 48
48 def finalise(self, fn, d, varient): 49 def finalise(self, fn, d, varient):
49 return 50 return
@@ -75,10 +76,10 @@ class SignatureGenerator(object):
75 return 76 return
76 77
77 def get_taskdata(self): 78 def get_taskdata(self):
78 return (self.runtaskdeps, self.taskhash, self.file_checksum_values, self.taints, self.basehash, self.unitaskhashes) 79 return (self.runtaskdeps, self.taskhash, self.file_checksum_values, self.taints, self.basehash, self.unitaskhashes, self.setscenetasks)
79 80
80 def set_taskdata(self, data): 81 def set_taskdata(self, data):
81 self.runtaskdeps, self.taskhash, self.file_checksum_values, self.taints, self.basehash, self.unitaskhashes = data 82 self.runtaskdeps, self.taskhash, self.file_checksum_values, self.taints, self.basehash, self.unitaskhashes, self.setscenetasks = data
82 83
83 def reset(self, data): 84 def reset(self, data):
84 self.__init__(data) 85 self.__init__(data)