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>
This commit is contained in:
Richard Purdie
2020-09-04 15:21:11 +01:00
parent e2afb73ccb
commit 341c5ca419

View File

@@ -295,7 +295,7 @@ class ProcessServer():
msg = "Delaying shutdown due to active processes which appear to be holding bitbake.lock"
if procs:
msg += ":\n%s" % str(procs)
msg += ":\n%s" % str(procs.decode("utf-8"))
print(msg)
def idle_commands(self, delay, fds=None):