summaryrefslogtreecommitdiffstats
path: root/bitbake
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-01-23 14:39:44 +0000
commit745cebd635002618d7edd0a109ff07dd2953621a (patch)
tree325b7eccba7a71eaf64f0d8a15a2068319ea65c4 /bitbake
parent2b899a472a850c52f3f5228868d58cf2e6fac621 (diff)
downloadpoky-745cebd635002618d7edd0a109ff07dd2953621a.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: 9b5b1bd7d77e3f5886f6c557d3b750de1f6d6025) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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 a0e70a8ee4..2de3aff332 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 """
@@ -204,12 +211,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
204 #d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task]) 211 #d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task])
205 return h 212 return h
206 213
207 def get_taskdata(self):
208 return (self.runtaskdeps, self.taskhash, self.file_checksum_values)
209
210 def set_taskdata(self, data):
211 self.runtaskdeps, self.taskhash, self.file_checksum_values = data
212
213 def dump_sigtask(self, fn, task, stampbase, runtime): 214 def dump_sigtask(self, fn, task, stampbase, runtime):
214 k = fn + "." + task 215 k = fn + "." + task
215 if runtime == "customfile": 216 if runtime == "customfile":