diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-17 10:51:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-18 10:59:27 +0100 |
commit | f5181b36d66fb8d92b2eb9072e76aa4c13fccb33 (patch) | |
tree | dad67e3f2ae9ddddf0069408386f23542d9c2e01 /bitbake/ChangeLog | |
parent | 58e3f45d4b7d69d663ce7c94933d4da7b5f071e3 (diff) | |
download | poky-f5181b36d66fb8d92b2eb9072e76aa4c13fccb33.tar.gz |
bitbake: data_smart: Fix expand_cache and _remove operator interaction issues
The contents of the expand_cache is meant to match the return value of
getVarFlag() but the implementation was mostly in expandWithRefs(). If
an incorrect key was passed to expandWithRefs(), or a variable was only
partially expanded with no remove processing, the cache could become
corrupted.
Move the code to getVarFlag making the data lifecycle very clear, meaning
other calls to expandWithRefs() cannot corrupt the cache.
The expand_cache reset code needs to be moved ahead of any remote data
connectors too, since the expand_cache is now on the local side of the
connection.
(Bitbake rev: a039052f9b680eae53f3f12b7381b945f1d69253)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/ChangeLog')
0 files changed, 0 insertions, 0 deletions