[bitbake-devel] Richard Purdie : siggen.py: Include list of variables in hashes

git at git.openembedded.org git at git.openembedded.org
Fri Nov 18 10:46:38 UTC 2011


Module: bitbake.git
Branch: master
Commit: 727ca945177ce9bd44515cf611e3e95a09466d98
URL:    http://git.openembedded.org/?p=bitbake.git&a=commit;h=727ca945177ce9bd44515cf611e3e95a09466d98

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Nov 17 14:01:06 2011 +0000

siggen.py: Include list of variables in hashes

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 at linuxfoundation.org>

---

 lib/bb/siggen.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index 611772a..217f29b 100644
--- a/lib/bb/siggen.py
+++ b/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:





More information about the bitbake-devel mailing list