[OE-core] [PATCH 42/61] bitbake: siggen: Ensure taskdata default functions exist in base class
Armin Kuster
akuster808 at gmail.com
Thu Feb 5 16:03:50 UTC 2015
From: Richard Purdie <richard.purdie at linuxfoundation.org>
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 at linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
bitbake/lib/bb/siggen.py | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index ef683ba..e77be6a 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -62,6 +62,13 @@ class SignatureGenerator(object):
def dump_sigs(self, dataCache, options):
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):
"""
"""
@@ -198,12 +205,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
#d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task])
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):
k = fn + "." + task
if runtime == "customfile":
--
1.9.1
More information about the Openembedded-core
mailing list