diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2024-05-02 08:57:50 -0600 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-05-02 23:04:30 +0200 |
commit | 46f1f893c7be2d1634dbf8c67384435277d4050d (patch) | |
tree | 30ecbd58b075b576fbfd7543ad8e62f11245dec2 /oe-init-build-env | |
parent | f6a2fdd8968cfb31e8230ec1d126bfef8d956e8e (diff) | |
download | openembedded-core-contrib-abelloni/master-next-success.tar.gz |
classes/create-spdx-2.2: Fix SPDX dependencies for ABI Safe recipesabelloni/master-next-success
SPDX Documents can currently get into a state where they reference SPDX
IDs that do not exist (locally). The reason for this is that some
tasks/recipes are marked as ABI safe, and thus are excluded from
taskhash. This means that when SPDX creates a document, it will refer to
the SPDX ID in the dependency at the time when the document is created,
but if the dependency changes and gets a new SPDX ID, the document will
not rebuild to reference the new SPDX ID, causing it to be dangling.
Fix this by using the new field in BB_TASKDEPDATA to skip dependencies
that are not part of the taskhash calculation.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'oe-init-build-env')
0 files changed, 0 insertions, 0 deletions