diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-18 22:22:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-21 08:41:11 +0100 |
commit | 21a19e0e0bf1b39969f6f2ec37a5784d0069715b (patch) | |
tree | 892e7d22ec4cd9dd31196be3fa771803a6017352 /.templateconf | |
parent | 62bd2e365eedaa030fe71e74a0d96fb5b76ad3de (diff) | |
download | poky-21a19e0e0bf1b39969f6f2ec37a5784d0069715b.tar.gz |
bitbake: daemonize: Various fixes
Currently if this code is used with something like oeqa's xml logging
it fails as sys.stdout is an io stream. Add in try/except to handle
this case.
Add a waitpid() call to remove a zombie whilst forking.
Also, append to the logfile, don't overwrite it (otherwise
debugging can be a real pain when the server is restarting for
unknown reasons).
(Bitbake rev: 4e780fa19fc720948cf73133f56f7d837ad9283a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to '.templateconf')
0 files changed, 0 insertions, 0 deletions