diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-16 07:19:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-16 22:17:07 +0100 |
commit | 4d83d9103d9225a2ac42c0f3dfada2f5cf140b68 (patch) | |
tree | 8077008933a0dbe81832754cc948bfae2be28f05 /lib/bb/cooker.py | |
parent | 1775bcb95f61af21712bc1ba5098a49df8f21128 (diff) | |
download | bitbake-4d83d9103d9225a2ac42c0f3dfada2f5cf140b68.tar.gz |
build: Catch and error upon circular task references
If there are circular task references, error on them rather than show
a recursion error. A simple reproducer is:
"""
do_packageswu () {
:
}
addtask do_packageswu after do_image_complete before do_image_qa
"""
into image_types.bbclass. There is code in runqueue to detect these but
we never get that far with the current codebase.
[YOCTO #13140]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 339d4d6be515a71311b81fb9e99742af0d8a5130)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
0 files changed, 0 insertions, 0 deletions