diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-19 14:03:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-20 13:10:47 +0100 |
commit | 5af68d42ba62a2a18d1b0cdacad8e32c2b119255 (patch) | |
tree | 46d8d1c8fc154ad31798ec94b7665c121747ee58 /bitbake/lib/bb/build.py | |
parent | de1841d9c2a0ec1d7103335d450b5fbc2273804e (diff) | |
download | poky-5af68d42ba62a2a18d1b0cdacad8e32c2b119255.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 1 |
1 files changed, 1 insertions, 0 deletions
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): | |||
602 | getTask('deptask') | 602 | getTask('deptask') |
603 | getTask('rdeptask') | 603 | getTask('rdeptask') |
604 | getTask('recrdeptask') | 604 | getTask('recrdeptask') |
605 | getTask('recideptask') | ||
605 | getTask('nostamp') | 606 | getTask('nostamp') |
606 | getTask('fakeroot') | 607 | getTask('fakeroot') |
607 | getTask('noexec') | 608 | getTask('noexec') |