summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-29 11:57:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-29 12:49:54 +0000
commit4dc7967cf9afdc27e96c05a5ed44870bb70f311a (patch)
tree3a720f6fb738ed4a53315b4ec6a216593a982844 /bitbake
parent3791d7ef604bdea8589b880a3b09bf002e453e85 (diff)
downloadpoky-4dc7967cf9afdc27e96c05a5ed44870bb70f311a.tar.gz
bitbake: tinfoil: Ensure CommandExit is handled
By inspection, tinfoil handles two of the three command exit cases but one is missing. Add the CommandExit case in case this is the cause of one of our recipetool/devtool hangs. Regardless, the fix is necessary. (Bitbake rev: eadddd94835b6b6a8517dfed3d29e6dbb2d35988) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/tinfoil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index e68a3b879a..8978bb5261 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -773,7 +773,7 @@ class Tinfoil:
773 if isinstance(event, bb.command.CommandCompleted): 773 if isinstance(event, bb.command.CommandCompleted):
774 result = True 774 result = True
775 break 775 break
776 if isinstance(event, bb.command.CommandFailed): 776 if isinstance(event, (bb.command.CommandFailed, bb.command.CommandExit)):
777 self.logger.error(str(event)) 777 self.logger.error(str(event))
778 result = False 778 result = False
779 break 779 break