summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2016-11-14 10:39:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-23 10:59:49 +0000
commit3511d464f3a9d8b4334cda384b35016de69ce49e (patch)
treef6dcb836320dae171299792ec3498f8f2d9e1924
parentcaf5bb9b7fe254bca9da077ebcb84a37d1f96dd4 (diff)
downloadbitbake-contrib-3511d464f3a9d8b4334cda384b35016de69ce49e.tar.gz
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. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/data_smart.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py
index cd3853e73..b7badb6a3 100644
--- a/lib/bb/data_smart.py
+++ b/lib/bb/data_smart.py
@@ -956,7 +956,6 @@ class DataSmart(MutableMapping):
for key in ["__BBTASKS", "__BBANONFUNCS", "__BBHANDLERS"]:
bb_list = d.getVar(key, False) or []
- bb_list.sort()
data.update({key:str(bb_list)})
if key == "__BBANONFUNCS":