Patchwork siggen.py: Include list of variables in hashes

login
register
mail settings
Submitter Richard Purdie
Date Nov. 17, 2011, 2:01 p.m.
Message ID <1321538466.27449.0.camel@ted>
Download mbox | patch
Permalink /patch/15087/
State New
Headers show

Comments

Richard Purdie - Nov. 17, 2011, 2:01 p.m.
Ensure that the list of dependencies is included in the hash
as well as their contents

Prior to this, adding or removing dependencies with values
of "None" would not change the hash, despite diffsigs reporting
this difference.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 1225791..4ccfc7d 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -101,6 +101,7 @@  class SignatureGeneratorBasic(SignatureGenerator):
             alldeps = seen - self.basewhitelist
 
             for dep in sorted(alldeps):
+                data = data + dep
                 if dep in lookupcache:
                     var = lookupcache[dep]
                 else: