summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server/process.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-11-14 17:46:40 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-08 20:18:55 +0000
commit103f13ac6eb2d516428da1df821ed8964a87997b (patch)
treeed6c3e2601204e4c498e00b5c4e69d44e8557f61 /bitbake/lib/bb/server/process.py
parentb5dd9158e95c60adc692e12865212862e0432f58 (diff)
downloadpoky-103f13ac6eb2d516428da1df821ed8964a87997b.tar.gz
bitbake: server/process: print a message when no logfile
[YOCTO #12898] There might be no bitbake-cookerdaemon.log, print a message for debugging. (Bitbake rev: 9c3c965b9d90617e8aa2cf439019534a35a7bcb1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/server/process.py')
-rw-r--r--bitbake/lib/bb/server/process.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 7cb08d5c84..6208c185ec 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -430,7 +430,11 @@ class BitBakeServer(object):
430 bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:]))) 430 bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:])))
431 else: 431 else:
432 bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines))) 432 bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines)))
433 else:
434 bb.error("%s doesn't exist" % logfile)
435
433 raise SystemExit(1) 436 raise SystemExit(1)
437
434 ready.close() 438 ready.close()
435 439
436 def _startServer(self): 440 def _startServer(self):