[bitbake-devel] [PATCH] lib/bb/utils.py: Fix explode_dep_versions2() determinism issue

Christopher Larson clarson at kergoth.com
Mon May 9 16:37:06 UTC 2016


On Mon, May 9, 2016 at 6:07 AM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> 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 at linuxfoundation.org>
>

Nicely spotted. Looks good.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20160509/fe89d606/attachment-0002.html>


More information about the bitbake-devel mailing list