Skip to contentSkip to conversation

Richard Purdie : siggen.py: Include list of variables in hashes

PATCH [email protected] 1 participant 1 message Nov 18, 2011

lore
Share & tools
lore
#0 lore raw
Module: bitbake.git
Branch: master
Commit: 727ca945177ce9bd44515cf611e3e95a09466d98
URL:    http://git.openembedded.org/?p=bitbake.git&a=commit;h=727ca945177ce9bd44515cf611e3e95a09466d98
Author: Richard Purdie <[email protected]>
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.

---

 lib/bb/siggen.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
lib/bb/siggen.py +1 -0
index 611772a..217f29b 100644
@@ -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: