mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 09:32:14 +02:00
lib/oe/sbom30: Prefix aliases with "http://spdx.org/spdxdocs/"
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 "http://spdx.org/spdxdocs/openembedded-alias" (From OE-Core rev: 5e0ff36e025f5e842fa90b8219b53257d65ea66a) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
00fec4f0e9
commit
88489115ae
@@ -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,
|
||||
"http://spdx.org/spdxdocs/openembedded-alias/"
|
||||
+ self.d.getVar("PN"),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user