siggen.py: fix the SignatureGenerator()
cover siggen.py: fix the SignatureGenerator()
The following changes since commit 47b1d3283f93b4b12ba5da4c6b049d46f64e7414:
sstate.bbclass: remove previous version's stamp (2014-01-20 17:26:47 +0800)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib rbt/noop
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/noop
Robert Yang (1):
siggen.py: fix the SignatureGenerator()
bitbake/lib/bb/siggen.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.3.1
PATCH 1/1 siggen.py: fix the SignatureGenerator()
If we set:
BB_SIGNATURE_HANDLER = "noop"
Then we would get the following errors:
[snip]
File "runqueue.py", line 876, in RunQueue._start_worker(fakeroot=False, rqexec=None):
"fakerootnoenv" : self.rqdata.dataCache.fakerootnoenv,
Quoted 1 line
"hashes" : bb.parse.siggen.taskhash,
"hash_deps" : bb.parse.siggen.runtaskdeps,
AttributeError: 'SignatureGenerator' object has no attribute 'taskhash' [snip]
This patch fixes the problem.
[YOCTO #5741]
--- bitbake/lib/bb/siggen.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
bitbake/lib/bb/siggen.py +4 -2
@@ -34,7 +34,9 @@ class SignatureGenerator(object): name = "noop" def __init__(self, data): - return + self.taskhash = {} + self.runtaskdeps = {} + self.file_checksum_values = {} def finalise(self, fn, d, varient): return
@@ -42,7 +44,7 @@ class SignatureGenerator(object): def get_taskhash(self, fn, task, deps, dataCache): return "0" - def set_taskdata(self, hashes, deps): + def set_taskdata(self, hashes, deps, checksum): return def stampfile(self, stampbase, file_name, taskname, extrainfo):
Signature · 1 line
1.8.3.1