diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2016-11-14 10:39:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-23 10:59:56 +0000 |
commit | d7f76363fbcaa2449a1989f49aff643f87141606 (patch) | |
tree | f631c795301092dbc6eb1d28dc2e8b378ae2a9a3 /bitbake | |
parent | 2631c375b8a025ee2e4329f6d93900bb7b5dadf7 (diff) | |
download | poky-d7f76363fbcaa2449a1989f49aff643f87141606.tar.gz |
bitbake: data_smart.py: don't reorder internal bitbake variables when calculating hash
Commit 260ced745 added __BBTASKS, __BBANONFUNCS, __BBHANDLERS to the
data that gets hashed, but only after reordering these lists. The
intention probably was to make the hash deterministic, but that's
unnecessary (the content of the variables should already be
deterministic) and hides potential reasons that might require
re-parsing.
(Bitbake rev: 3511d464f3a9d8b4334cda384b35016de69ce49e)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/data_smart.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py index cd3853e736..b7badb6a37 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py | |||
@@ -956,7 +956,6 @@ class DataSmart(MutableMapping): | |||
956 | 956 | ||
957 | for key in ["__BBTASKS", "__BBANONFUNCS", "__BBHANDLERS"]: | 957 | for key in ["__BBTASKS", "__BBANONFUNCS", "__BBHANDLERS"]: |
958 | bb_list = d.getVar(key, False) or [] | 958 | bb_list = d.getVar(key, False) or [] |
959 | bb_list.sort() | ||
960 | data.update({key:str(bb_list)}) | 959 | data.update({key:str(bb_list)}) |
961 | 960 | ||
962 | if key == "__BBANONFUNCS": | 961 | if key == "__BBANONFUNCS": |