summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-12 21:29:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-13 12:53:22 +0100
commitb0e2e954f226c5cd0e7b6645f4fd43913870da93 (patch)
tree7f041d422cfee43840ca483ed10c3ce29ff7223c /meta
parent71772fbaea840da03835782b8602613895cf02ce (diff)
downloadpoky-b0e2e954f226c5cd0e7b6645f4fd43913870da93.tar.gz
bitbake: server/process: Ensure UI-less servers don't sit in infinite loops
If server startup is broken for some reason (e.g. lockfile issues) and no UI connection is made, the server will just sit inifinitely waiting. Add a timeout upon startup in the non-memory resident case so that such infinite waits are avoided. In the memory resident case, the server wouldn't have shut down in the first place or will timeout according to configuration. Since any race may mean the socket file is no longer present, ensure the unlink doesn't fault upon exit, thus ensuring any hashequiv or PRServ is removed from memory, allowing all processes to exit cleanly in such scenarios. (Bitbake rev: 39888b750df12478e8bdea6727cca112dce1df85) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions