generic-poky/bitbake/lib/bb
Richard Purdie 3488966926 bitbake: runqueue.py: Allow recrdeptasks that have self references
In some cases we want to pull in DEPENDS and RDEPENDS of recrdeptask
dependencies but we need a way to trigger or avoid this behaviour
depending on context. The logical syntax to trigger such behaviour
would be a self referencing recrdeptask:

do_a[recrdeptask] = "do_a do_b"

The dependency chains already recurse this kind of expression correctly, the
missing piece is to avoid any circular reference errors. Since the dependencies
have already been recursively resolved, simply removing any recrdeptask
references is enough to break the circular references.

This patch therefore removes any circular references using the set
difference_update() operator. There will be metadata tweaks required to
add any references needed to the extra taskname.

(Bitbake rev: a5324da9b8a0c9307a6c511ea9009f34be70c92b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-04 14:48:14 +01:00
..
fetch2 bitbake: git: do not execute 'git remote prune' 2012-07-04 14:48:14 +01:00
parse BBHandler: Tweak some data store access methods to the preferred syntax 2012-05-25 11:15:11 +01:00
pysh make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
server bitbake: Add client socket info for BitBakeServerConnection 2012-02-23 22:52:16 +00:00
tests bitbake: test/fetch: Switch the comparision order to make test failures slightly clearer 2012-06-28 16:32:57 +01:00
ui bitbake: Hob: fixed some variables not clean bug in detail page 2012-07-04 14:48:14 +01:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py Update version to 1.15.2 (correspdoning to Yocto 1.2 release) 2012-05-01 20:50:41 +01:00
build.py bitbake: process: Improve _logged_communicate buffering 2012-06-25 14:57:16 +01:00
cache.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
cache_extra.py bitbake: Add description into the cache and clean up cache duplication 2012-02-02 16:55:28 +00:00
checksum.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
codeparser.py bitbake: refactor out codeparser cache into a separate class 2012-05-23 11:33:18 +01:00
command.py ConfHandler.py: Add a hook for config parsing 2012-04-13 12:04:18 +01:00
compat.py bitbake: Add missing file 2011-05-07 08:49:28 +01:00
cooker.py bitbake: bitbake: ensure -f causes dependent tasks to be re-run 2012-06-21 13:10:32 +01:00
daemonize.py Apply some 2to3 transforms that don't cause issues in 2.6 2010-07-02 15:41:33 +01:00
data.py bitbake: include varflags in checksums 2012-05-30 17:23:32 +01:00
data_smart.py lib/bb/data_smart.py: don't report variable in ExpansionError if not set 2012-05-30 17:23:31 +01:00
event.py hob: handle sanity check failures as a separate event 2012-05-30 17:23:31 +01:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
methodpool.py methodpool: Improve method already seen error message 2012-06-14 14:20:51 +01:00
monitordisk.py diskspace monitor: assign a default value when only of the interval is set 2012-04-11 00:04:40 +01:00
msg.py bitbake: implement BB_VERBOSE_LOGS 2012-02-28 13:47:10 +00:00
namedtuple_with_abc.py bb.namedtuple_with_abc: add useful util from activestate 2011-06-08 20:38:23 +01:00
persist_data.py persist_data: survive if sqlite3 couldn't enable the shared cache 2012-02-22 20:25:29 +00:00
process.py bitbake: process: Improve _logged_communicate buffering 2012-06-25 14:57:16 +01:00
providers.py meta/classes: Convert to use appendVar and appendVarFlags 2012-03-05 10:36:53 -08:00
runqueue.py bitbake: runqueue.py: Allow recrdeptasks that have self references 2012-07-04 14:48:14 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: lib/bb/siggen.py: log when tainting the signature of a task 2012-06-25 14:57:16 +01:00
taskdata.py bitbake: taskdata: Add gettask_id_fromfnid helper function 2012-06-28 16:32:57 +01:00
utils.py bitbake: lib/bb/utils.py: remove unnecessary preserved variables 2012-06-25 14:57:16 +01:00