summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-23 14:38:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-11 17:36:49 +0000
commit8abe4b8b2a215d320e2dd0ee3c8d91d1f5dd5c25 (patch)
tree9973d7709c6fe50b8d586f633ec31deef1fca8ed /bitbake/lib/bb/siggen.py
parent53b33d85de334a96e4f6f7edc2ad72d103627e3b (diff)
downloadpoky-8abe4b8b2a215d320e2dd0ee3c8d91d1f5dd5c25.tar.gz
bitbake: siggen: Ensure taskdata default functions exist in base class
The get/set_taskdata functions are now part of the API of the class, ensure they exist in the base class definition so the noop handler works. [YOCTO #7233] (Bitbake rev: d571149cd82028c5e05cca33a3007ce1b779a654) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r--bitbake/lib/bb/siggen.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 28f93bae7b..0927321427 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -62,6 +62,13 @@ class SignatureGenerator(object):
62 def dump_sigs(self, dataCache, options): 62 def dump_sigs(self, dataCache, options):
63 return 63 return
64 64
65 def get_taskdata(self):
66 return (self.runtaskdeps, self.taskhash, self.file_checksum_values)
67
68 def set_taskdata(self, data):
69 self.runtaskdeps, self.taskhash, self.file_checksum_values = data
70
71
65class SignatureGeneratorBasic(SignatureGenerator): 72class SignatureGeneratorBasic(SignatureGenerator):
66 """ 73 """
67 """ 74 """
@@ -197,12 +204,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
197 #d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task]) 204 #d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task])
198 return h 205 return h
199 206
200 def get_taskdata(self):
201 return (self.runtaskdeps, self.taskhash, self.file_checksum_values)
202
203 def set_taskdata(self, data):
204 self.runtaskdeps, self.taskhash, self.file_checksum_values = data
205
206 def dump_sigtask(self, fn, task, stampbase, runtime): 207 def dump_sigtask(self, fn, task, stampbase, runtime):
207 k = fn + "." + task 208 k = fn + "." + task
208 if runtime == "customfile": 209 if runtime == "customfile":