diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-09 14:12:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-17 21:27:58 +0100 |
commit | 438b140050a9040cdfb150bd53ecfd0647ec7d97 (patch) | |
tree | 11e53c2bb7d56c532f1f81603196854e98d52d58 /scripts/lib/devtool/utilcmds.py | |
parent | 6443cdfc963045ff305779f5d2326b1d588c6efe (diff) | |
download | openembedded-core-438b140050a9040cdfb150bd53ecfd0647ec7d97.tar.gz openembedded-core-438b140050a9040cdfb150bd53ecfd0647ec7d97.tar.bz2 openembedded-core-438b140050a9040cdfb150bd53ecfd0647ec7d97.zip |
update-alternatives: Fix determinism issue
getVarFlags returns a dict and there is therefore no sort order. This
means the order of the X_VARDEPS_X variables can change and hence the
task checksums can change. This can lead to rebuilds of any parts of
the system using update-alternatives and their dependees. This is a
particular issue under python v3.
Add in a sort to make the order of the variables deterministic.
(From OE-Core rev: ecd1bfed5534f83b775a6c79092c04bd13c3af0a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/utilcmds.py')
0 files changed, 0 insertions, 0 deletions