From: Patrick Ohly Date: Mon, 14 Nov 2016 09:39:00 +0000 (+0100) Subject: data_smart.py: don't reorder internal bitbake variables when calculating hash X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3511d464f3a9d8b4334cda384b35016de69ce49e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index cd3853e7360..b7badb6a370 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":