Richard Purdie
21a19e0e0b
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 >
2017-07-21 08:41:11 +01:00
Richard Purdie
fce8da957f
bitbake: daemonize/prserv/tests/fetch: Convert file() -> open()
...
Use python3 compatible functions.
(Bitbake rev: e6a0296ba29c3fbc8417d1df7a01d50562668a41)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2016-05-13 13:41:32 +01:00
Robert P. J. Day
6d08e5bb09
bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional.
...
(Bitbake rev: 587b144ee409d444494d8d7f2d1c53ede8f7c953)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2014-08-25 08:57:45 +01:00
Robert P. J. Day
f1dc26ebf4
bitbake: daemonize.py: Non-functional comment/aesthetic fixes.
...
(Bitbake rev: fd293c5fcc89bc7a541d09e88a6aec5e0b2a1db2)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2014-08-19 20:41:26 +01:00
Chris Larson
1180bab54e
Apply some 2to3 transforms that don't cause issues in 2.6
...
(Bitbake rev: d39ab776e7ceaefc8361150151cf0892dcb70d9c)
Signed-off-by: Chris Larson <chris_larson@mentor.com >
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com >
2010-07-02 15:41:33 +01:00
Chris Larson
7acc132cac
Formatting cleanups
...
(Bitbake rev: 2caf134b43a44dad30af4fbe33033b3c58deee57)
Signed-off-by: Chris Larson <chris_larson@mentor.com >
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com >
2010-07-02 15:41:32 +01:00
Richard Purdie
22c29d8651
bitbake: Switch to bitbake-dev version (bitbake master upstream)
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com >
2010-01-20 18:46:02 +00:00