diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-21 12:57:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-21 12:58:40 +0100 |
commit | e6d26f5dbcc62388f7fba91d317387f37bd5cf3c (patch) | |
tree | d1f4fca8a2ccf9a50114809b986d919952b70bbc /meta-poky | |
parent | 95f6e7bd0f7188f59e66e1769799e44a123b638b (diff) | |
download | poky-e6d26f5dbcc62388f7fba91d317387f37bd5cf3c.tar.gz |
package_manager: Fix multilib package arch ordering issues
Order is not preserved in dict() and this code depends on the order of
these lists of package architectures used when multilibs are enabled.
This caused 'random' breakage where sometimes the correct order was present
and sometimes it wasn't.
Use collections.OrderedDict() to avoid this problem.
Kudos to Bill Randle and Alejandro Hernandez who did most of the work debugging
this, I simply took the problem they identified and wrote a patch to fix it.
This unblocks the M1 build but this code needs auditing as there are clearly
other ordering issues (e.g. the set() usage).
[YOCTO #9717]
(From OE-Core rev: 61a33582dfc964d612d20d34734a787d873e312c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky')
0 files changed, 0 insertions, 0 deletions