diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-21 09:04:20 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-22 07:45:17 +0100 |
commit | b0b0b89ad763a50cb02429b31f24400ddd4491b7 (patch) | |
tree | b993d07ce068b9a6d74652f404ab27af5956f49d /meta/recipes-multimedia/liba52 | |
parent | aab44111d72d87528cfb9e210b6217a09d1636d4 (diff) | |
download | poky-b0b0b89ad763a50cb02429b31f24400ddd4491b7.tar.gz |
create-spdx/sbom: Ensure files don't overlap between machines
Currently the by-id and by-namespace SPDX files are created without reference
to PACKAGE_ARCH. This means that for two machines using a common package architecture
(e.g. genericx86-64 and qqemux86-64), there would be overlapping files. This means
that the build of one can remove files from the other leading to build failures. An
example would be:
MACHINE=qemux86-64 bitbake core-image-minimal
MACHINE=genericx86-64 bitbake core-image-minimal
MACHINE=qemux86-64 bitbake linux-yocto -c clean
MACHINE=genericx86-64 bitbake core-image-minimal -C rootfs
To fix this, add PACKAGE_ARCH to the path used for the files and use a search
path based upon PACKAGE_ARCHS to access them.
(From OE-Core rev: b2db10e966438071d00d2057b84d5f347613d841)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/liba52')
0 files changed, 0 insertions, 0 deletions