From patchwork Thu Nov 17 14:01:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: siggen.py: Include list of variables in hashes Date: Thu, 17 Nov 2011 14:01:06 -0000 From: Richard Purdie X-Patchwork-Id: 15087 Message-Id: <1321538466.27449.0.camel@ted> To: openembedded-core 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 --- 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: