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"
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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"),
),
)