bitbake: data_smart: Ensure variable flags are accounted for in config data hash
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Jun 2013 20:53:14 +0000 (21:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jun 2013 08:19:28 +0000 (09:19 +0100)
commite139ccf156e4107221f5423261a66595f9aea4f5
treeab117a47e6ecb9faeb281ffa19c74f95790353b9
parent42cec09e617ec735a95772f3d9c62ab486a99b23
bitbake: data_smart: Ensure variable flags are accounted for in config data hash

Currently if the flags set against a variable in the base data store
change, it doesn't automatically trigger a reparse when it really
should. For example with the blacklist class setting:

PNBLACKLIST[qemu] = "bar"
PNBLACKLIST[bash] = "foo"

will not trigger a reparse if only one entry is changed and a
blacklisted recipe can still be built.

I did consider using BB_SIGNATURE_EXCLUDE_FLAGS in here however it
doesn't make sense, we want to trigger a reparse when any of the
flags change too (which is different to the sstate signatures which
we wouldn't want to change in those cases).

[YOCTO #4627]

(Bitbake rev: ed74ea50043f6feb698c891e571feda2b9f8513d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/data_smart.py