poky/bitbake/lib/bb
Richard Purdie 8ef55cc0da bitbake: cooker: Ensure bbappend files are processed in a determistic order
self.appendlist is a dict and as such unordered. This can lead to cases
where appends with different names (e.g. x_%.bbappend vs. x_123.bbappend)
can be reordered in application which in turn reorders the variables
that those bbappend files might touch. Reorderd variables changes the sstate
cache signatures causing real world issues.

To avoid this, use a list for the append files instead.

This patch is conservative and just adds a new data structure alongside
the existing one and uses it to resolve the core issue. Later patches
(post release) can handle some of the wider but less problematic ones
(e.g. issues in bitbake-layers flatten).

[YOCTO #7511]

(Bitbake rev: 370a19bf956a2fba5bf4db3d72806e17d7f9e000)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-17 17:52:13 +00:00
..
fetch2 bitbake: fetch/git: Remove a possible trailing '/' in subpath 2015-04-24 11:33:13 +01:00
parse bitbake: cooker/cache/parse: Implement pyinofity based reconfigure 2015-04-11 16:21:47 +01:00
pysh bitbake: lib: fix no newline at end of file 2014-07-04 09:28:36 +01:00
server bitbake: cooker/server: Fix up 100% CPU usage at idle 2015-04-11 16:21:48 +01:00
tests bitbake: lib/bb/utils: add safeguard against recursively deleting things we shouldn't 2015-04-24 11:33:13 +01:00
ui bitbake: bitbake: cooker: properly fix bitbake.lock handling 2015-09-01 21:37:33 +01:00
__init__.py bitbake: bin/bitbake: Update to version 1.24.0 2014-09-23 22:10:12 +01:00
build.py bitbake: build/data: Write out more complete python run files 2014-08-28 15:12:45 +01:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
cache.py bitbake: cooker/cache/parse: Implement pyinofity based reconfigure 2015-04-11 16:21:47 +01:00
checksum.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
codeparser.py bitbake: codeparser cache improvements 2014-07-26 08:50:14 +01:00
command.py bitbake: knotty: Ensure commandline parameters are updated in memres server 2014-09-23 20:06:06 +01:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: cooker: Ensure bbappend files are processed in a determistic order 2016-01-17 17:52:13 +00:00
cookerdata.py bitbake: knotty: Ensure commandline parameters are updated in memres server 2014-09-23 20:06:06 +01:00
COW.py
daemonize.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
data_smart.py bitbake: bitbake: data_smart: split expanded removal values when handling _remove 2015-04-15 15:56:06 +01:00
data.py bitbake: data.py: fixes bad substitution when running devshell 2015-04-11 16:27:19 +01:00
event.py bitbake: event: fix resetting class handlers object 2014-12-31 10:10:22 +00:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
methodpool.py bitbake: methodpool: Retire it, remove global method scope 2013-05-24 10:34:52 +01:00
monitordisk.py bitbake: monitordisk: don't log when not monitoring a filesystem for inodes 2014-09-29 12:08:48 +01:00
msg.py bitbake: msg: Add stdout/stderr filters 2014-03-27 10:17:20 +00:00
namedtuple_with_abc.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
persist_data.py bitbake: persist_data: Avoid fsync() calls 2014-05-03 11:24:48 +01:00
process.py bitbake: process: Add timeout to select call 2013-12-10 17:55:29 +00:00
providers.py bitbake: providers/runqueue/taskdata: Optimise logger.debug calls 2014-03-10 11:10:00 -07:00
runqueue.py bitbake: runqueue: Add message to explain the problem if diffsigs multiple tasks don't exist 2015-09-01 21:37:32 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: cache/fetch2/siggen: Ensure we track include history for file checksums 2015-02-11 17:36:50 +00:00
taskdata.py bitbake: providers/runqueue/taskdata: Optimise logger.debug calls 2014-03-10 11:10:00 -07:00
tinfoil.py bitbake: bitbake: cooker: properly fix bitbake.lock handling 2015-09-01 21:37:33 +01:00
utils.py bitbake: bitbake: cooker: properly fix bitbake.lock handling 2015-09-01 21:37:33 +01:00