diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-25 10:39:16 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-26 14:37:34 +0100 |
| commit | eab1c2087fd37af7b64c25545a7f39ccd2e607de (patch) | |
| tree | 12c708ee19f59a1a0b5b9ad2e7d6d9fdb1e89f23 /scripts/lib/scriptutils.py | |
| parent | 2692037fec997ead90a50c99c6dda8912fb28a59 (diff) | |
| download | poky-eab1c2087fd37af7b64c25545a7f39ccd2e607de.tar.gz | |
bitbake: bitbake-worker: Allow shutdown/database flush of pseudo server at task exit
We have a problem where pseudo server processes exist after bitbake exits
and hold the pseudo database in memory. In a docker container, the processes
will be killed as the container is destroyed with no warning and no opportunity
to write the data to disk. This leads to permissions/inode corruptions and
data loss.
Send a shutdown message to pseudo which in new versions of pseudo will flush
the database, thereby fixing some of the issues people using docker containers
see.
(Bitbake rev: a07a971b40acd3eee12e203d2cfa3e49f56109f6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions
