PIDs are not unique across containers. When running the build in a container (e.g. the kas container), the PID of bitbake is likely the same across multiple simultaneously running builds. This is especially the case for CI runners, where it is common that multiple jobs run in parallel. This patch adds an additional UUID component stored till the end of the build in bitbake persistend storage. Signed-off-by: Anton Mikanovich <amikan@ilbers.de> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Here is the version I propose as an
alternative to original patch.
Main differences are:
1) placing everything inside bitbake
2) regeneration of UUID on every bitbake run