* [PATCH 0/1] siggen.py: fix the SignatureGenerator()
@ 2014-01-20 11:44 Robert Yang
2014-01-20 11:44 ` [PATCH 1/1] " Robert Yang
0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2014-01-20 11:44 UTC (permalink / raw)
To: bitbake-devel
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(-)
--
1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] siggen.py: fix the SignatureGenerator()
2014-01-20 11:44 [PATCH 0/1] siggen.py: fix the SignatureGenerator() Robert Yang
@ 2014-01-20 11:44 ` Robert Yang
0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2014-01-20 11:44 UTC (permalink / raw)
To: bitbake-devel
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,
> "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]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
bitbake/lib/bb/siggen.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 9db29a2..a54357a 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -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):
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-20 11:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-20 11:44 [PATCH 0/1] siggen.py: fix the SignatureGenerator() Robert Yang
2014-01-20 11:44 ` [PATCH 1/1] " Robert Yang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.