tinfoil: Ensure CommandExit is handled
PATCH 1/1 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.
Signed-off-by Richard Purdie <[email protected]>
--- lib/bb/tinfoil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/tinfoil.py +1 -1
@@ -773,7 +773,7 @@ class Tinfoil: if isinstance(event, bb.command.CommandCompleted): result = True break - if isinstance(event, bb.command.CommandFailed): + if isinstance(event, (bb.command.CommandFailed, bb.command.CommandExit)): self.logger.error(str(event)) result = False break
Signature · 1 line
2.37.2