diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-08-07 12:03:44 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-09 09:24:15 +0100 |
commit | 1cce7f885cf143370c989381ae8c8f4833e7cbd6 (patch) | |
tree | a0ecf0b0e12449d2d98f1b539bb32219f4ba5e2c /meta | |
parent | 534eceb89061a6e756d5dbb8222a6ba1b25d2cd5 (diff) | |
download | poky-1cce7f885cf143370c989381ae8c8f4833e7cbd6.tar.gz |
devtool: fix handling of errors during task execution
* If an error is logged while executing a task, we need to ensure we
exit instead of assuming everything went OK.
* If we receive CookerExit, the server is shutting down and we need to
stop waiting for events and probably exit (knotty does this). This
will occur if an exception or bb.fatal() happens during an event
handler.
This fixes a couple of issues highlighted when using devtool upgrade or
modify on a non-supported recipe with intel-iot-refkit together with
bitbake master, but I'd be very surprised if it were hard to reproduce
in other scenarios.
(From OE-Core rev: 65e644368fc9c294af96906528ee0cf30305e0a6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions