diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-20 11:43:31 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-21 14:15:26 +0000 |
commit | 98f1b3d6ae6b6ac06f993bc0caa15fa93bce7ddf (patch) | |
tree | b91c2d11afdc21b8f76cb29bb62a7616fe7e2d36 /Makefile | |
parent | fafce983635a88fd9bb5a1afdbc06d8b90b393b5 (diff) | |
download | poky-98f1b3d6ae6b6ac06f993bc0caa15fa93bce7ddf.tar.gz |
bitbake: server/process: Add bitbake.sock race handling
We've seen cases where the bitbake.sock file appears to disappear but the
server continues to hold bitbake.lock. The most likely explaination is
that some previous build directory was moved out the way, a server there
kept running, eventually exited and removed the sock file from the wrong
directory.
To guard against this, save the inode information for the sock file and check
it before deleting the file. The new code isn't entirely race free but should
guard against what is a rare but annoying potential issue.
(Bitbake rev: b02ebbffdae27e564450446bf84c4e98d094ee4a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions