summaryrefslogtreecommitdiff
path: root/poky/bitbake/lib/bb/tinfoil.py
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2020-11-03 03:44:49 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-11-03 23:32:06 +0300
commit4873add6e11c1bd421c83cd08df589f1184aa673 (patch)
treeaec4845be29329cca2a0b2d7c8f94249e48ed067 /poky/bitbake/lib/bb/tinfoil.py
parent56a8292be03a7cb27f3b3ad762f4779e7e5ff47d (diff)
downloadopenbmc-4873add6e11c1bd421c83cd08df589f1184aa673.tar.xz
Revert "poky: subtree update:b23aa6b753..ad30a6d470"
This reverts commit af5e4ef732faedf66c6dc1756432e9de2ac72988. This commit introduced openbmc/openbmc#3720 and no solution has been forthcoming. Revert until we can get to the bottom of this. Change-Id: I2fb0d81eb26cf3dadb2f2abdd1a1bb7a95eaf03c
Diffstat (limited to 'poky/bitbake/lib/bb/tinfoil.py')
-rw-r--r--poky/bitbake/lib/bb/tinfoil.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/poky/bitbake/lib/bb/tinfoil.py b/poky/bitbake/lib/bb/tinfoil.py
index 763c329810..2fb1bb7d27 100644
--- a/poky/bitbake/lib/bb/tinfoil.py
+++ b/poky/bitbake/lib/bb/tinfoil.py
@@ -461,16 +461,7 @@ class Tinfoil:
commandline = [command]
if params:
commandline.extend(params)
- try:
- result = self.server_connection.connection.runCommand(commandline)
- finally:
- while True:
- event = self.wait_event()
- if not event:
- break
- if isinstance(event, logging.LogRecord):
- if event.taskpid == 0 or event.levelno > logging.INFO:
- self.logger.handle(event)
+ result = self.server_connection.connection.runCommand(commandline)
if result[1]:
raise TinfoilCommandFailed(result[1])
return result[0]