diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-11-14 17:46:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-19 17:03:25 +0000 |
commit | 5a485dc01403a840c93fba7e7e3656172482d985 (patch) | |
tree | 7b53bd04da9b1bba79b40c15f8731140ccb93009 /bitbake | |
parent | 6b761940fe003b1a0a5934352cd026a22b1a3247 (diff) | |
download | poky-5a485dc01403a840c93fba7e7e3656172482d985.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: 4adc582d2df7fdb9e51c4ebb5e66bbd21165b4dc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 0cae41cf86..4e0d9c2dbc 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -428,7 +428,11 @@ class BitBakeServer(object): | |||
428 | bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:]))) | 428 | bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:]))) |
429 | else: | 429 | else: |
430 | bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines))) | 430 | bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines))) |
431 | else: | ||
432 | bb.error("%s doesn't exist" % logfile) | ||
433 | |||
431 | raise SystemExit(1) | 434 | raise SystemExit(1) |
435 | |||
432 | ready.close() | 436 | ready.close() |
433 | 437 | ||
434 | def _startServer(self): | 438 | def _startServer(self): |