diff options
author | Joshua Watt <[email protected]> | 2024-11-22 13:15:57 -0700 |
---|---|---|
committer | Richard Purdie <[email protected]> | 2024-11-23 14:28:29 +0000 |
commit | 5e0ff36e025f5e842fa90b8219b53257d65ea66a (patch) | |
tree | 1aea391213e83a0c92e0fb9969278e0b820cc86f | |
parent | 87a9fadc71c8d3c1eb841c84c96146d5c56f1241 (diff) | |
download | openembedded-core-master.tar.gz |
While the SPDX ID aliases are primarily intended for internal use by the
SPDX code, they are used in places where a valid SPDX ID is expected. In
order to make sure that they still conform to this, prefix them with
"https://spdx.org/spdxdocs/openembedded-alias"
Signed-off-by: Joshua Watt <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
-rw-r--r-- | meta/lib/oe/sbom30.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oe/sbom30.py b/meta/lib/oe/sbom30.py index 8433637de8..0a7b4c05fb 100644 --- a/meta/lib/oe/sbom30.py +++ b/meta/lib/oe/sbom30.py @@ -344,7 +344,9 @@ class ObjectSet(oe.spdx30.SHACLObjectSet): alias_ext = set_alias( e, e._id.replace(unihash, "UNIHASH").replace( - namespace, self.d.getVar("PN") + namespace, + "https://spdx.org/spdxdocs/openembedded-alias/" + + self.d.getVar("PN"), ), ) |