From 5af68d42ba62a2a18d1b0cdacad8e32c2b119255 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 19 Jun 2013 14:03:39 +0100 Subject: bitbake: runqueue/build: Add recideptask flag Currently, tasks like fetchall are slightly broken since if a recipe has specific [depends] which occur after do_fetch and add items not listed in DEPENDS and RDEPENDS, they are not caught by recrdeptask. We've gone around in circles on this issue (e.g http://git.yoctoproject.org/cgit.cgi/poky/commit/bitbake/lib/bb/runqueue.py?id=5fa6036d49ed7befe6ad50ec95c61a50aec48195 ) and in many cases the behaviour of recrdepends is correct but tasks like fetchall need the other behaviour. To address this we add a recideptask flag which can be used in conjuction with the recrdeptask flag to specify which task to to the inspection upon. This means entries like do_rootfs[depends] which have do_fetch tasks are caught and run. I'm not 100% happy with needing another flag but I don't see any rational way to get the correct behaviour in all cases without it. [YOCTO #4597] (Bitbake rev: f8c9b292b02ce2c28741b74901205f5e5807ca87) Signed-off-by: Richard Purdie --- bitbake/lib/bb/build.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/build.py') diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index bfc176d4bb..70d7165fcf 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py @@ -602,6 +602,7 @@ def add_tasks(tasklist, d): getTask('deptask') getTask('rdeptask') getTask('recrdeptask') + getTask('recideptask') getTask('nostamp') getTask('fakeroot') getTask('noexec') -- cgit v1.2.3-54-g00ecf