]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lib/bb/utils.py: Fix explode_dep_versions2() determinism issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 May 2016 13:07:17 +0000 (14:07 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 May 2016 16:32:13 +0000 (17:32 +0100)
commit0737e003ca549d08a7dfe13452ae982f2e11fecd
tree698396b93099840f196dbc959026ea5c96e80aa6
parent58304fcce9727fd89564436771356c033ecd22a3
lib/bb/utils.py: Fix explode_dep_versions2() determinism issue

When we pass data into explode_dep_versions2(), we need to result to be
able to be processed in a deterministic way so that we end up with
consistent hash values. This means we need an ordered structure rather
than an unordered one.

To do this, return an OrderedDict() rather than a dict().

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