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>
This commit is contained in:
parent
2b899a472a
commit
745cebd635
|
@ -62,6 +62,13 @@ class SignatureGenerator(object):
|
||||||
def dump_sigs(self, dataCache, options):
|
def dump_sigs(self, dataCache, options):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
def get_taskdata(self):
|
||||||
|
return (self.runtaskdeps, self.taskhash, self.file_checksum_values)
|
||||||
|
|
||||||
|
def set_taskdata(self, data):
|
||||||
|
self.runtaskdeps, self.taskhash, self.file_checksum_values = data
|
||||||
|
|
||||||
|
|
||||||
class SignatureGeneratorBasic(SignatureGenerator):
|
class SignatureGeneratorBasic(SignatureGenerator):
|
||||||
"""
|
"""
|
||||||
"""
|
"""
|
||||||
|
@ -204,12 +211,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
|
||||||
#d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task])
|
#d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task])
|
||||||
return h
|
return h
|
||||||
|
|
||||||
def get_taskdata(self):
|
|
||||||
return (self.runtaskdeps, self.taskhash, self.file_checksum_values)
|
|
||||||
|
|
||||||
def set_taskdata(self, data):
|
|
||||||
self.runtaskdeps, self.taskhash, self.file_checksum_values = data
|
|
||||||
|
|
||||||
def dump_sigtask(self, fn, task, stampbase, runtime):
|
def dump_sigtask(self, fn, task, stampbase, runtime):
|
||||||
k = fn + "." + task
|
k = fn + "." + task
|
||||||
if runtime == "customfile":
|
if runtime == "customfile":
|
||||||
|
|
Loading…
Reference in New Issue