diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-04 15:21:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-05 11:45:16 +0100 |
commit | 341c5ca419b2b447e5ef5b5e13f0539694fc9132 (patch) | |
tree | 33e9e025ebf0f09ccf4736b0c4b1c05687696ffb /bitbake/lib | |
parent | e2afb73ccb3eb37397a62c9aa5e8fcc178a6dc2e (diff) | |
download | poky-341c5ca419b2b447e5ef5b5e13f0539694fc9132.tar.gz |
bitbake: process: Avoid printing binary strings for leftover processes
The binary string printed into the output is ugly, parse this so the
linebreaks come out in the logs and make them much more readable (I
was misssing the information initially despite looking for it).
(Bitbake rev: c2dd8bb434d5738fedf9019651074b90affff3b2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index c972fe567d..5b4d92dc80 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -295,7 +295,7 @@ class ProcessServer(): | |||
295 | 295 | ||
296 | msg = "Delaying shutdown due to active processes which appear to be holding bitbake.lock" | 296 | msg = "Delaying shutdown due to active processes which appear to be holding bitbake.lock" |
297 | if procs: | 297 | if procs: |
298 | msg += ":\n%s" % str(procs) | 298 | msg += ":\n%s" % str(procs.decode("utf-8")) |
299 | print(msg) | 299 | print(msg) |
300 | 300 | ||
301 | def idle_commands(self, delay, fds=None): | 301 | def idle_commands(self, delay, fds=None): |