diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-07-29 12:25:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-11 00:09:27 +0100 |
commit | 98ef970c8e2827a6e0fc923a49fcc00af52f878c (patch) | |
tree | 66573af17b280b022ea709d696afb7902ad3a5af /documentation/adt-manual/adt-prepare.xml | |
parent | 2ff892d87c6208abb672bd446c36b261690093f2 (diff) | |
download | poky-98ef970c8e2827a6e0fc923a49fcc00af52f878c.tar.gz |
bitbake: toaster: prevent infinite loop when finding task dependencies
Toaster occasionally records a task which depends on itself.
This causes a problem when trying to display that task if it
is "covered" by itself, as the code does the following: for
task A, find a task B which covers A; then, recursively
find the task which covers B etc. If B == A, this loop becomes
infinite and never terminates.
To prevent this, add the condition that, when finding a task B
which covers A, don't allow B == A.
[YOCTO #9952]
(Bitbake rev: 88c471c7e5995abb5bca62990b91650277b6c926)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/adt-manual/adt-prepare.xml')
0 files changed, 0 insertions, 0 deletions