mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
base.bbclass: fix nondeterministic PACKAGECONFIG processing order
The PACKAGECONFIG flags were iterated over using dict.items(), but this returns the items in an undefined order. As this order determines the EXTRA_OECONF append order, we can get EXTRA_OECONF which are functionally equivalent, but whose contents differ, resulting in not using shared state archives we should be using. (From OE-Core rev: 843a5dd8f8f0461e286d9fdb3ba55205b4275f88) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ffb440c37c
commit
754e8768b6
@@ -433,7 +433,7 @@ python () {
|
||||
extradeps = []
|
||||
extrardeps = []
|
||||
extraconf = []
|
||||
for flag, flagval in pkgconfigflags.items():
|
||||
for flag, flagval in sorted(pkgconfigflags.items()):
|
||||
if flag == "defaultval":
|
||||
continue
|
||||
items = flagval.split(",")
|
||||
|
||||
Reference in New Issue
Block a user