summaryrefslogtreecommitdiffstats
path: root/documentation/sdk-manual/working-projects.rst
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2025-06-25 17:20:39 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-26 11:03:14 +0100
commit6ef2f58d9eeea799a179f4d3e1e2731c58f6d6e1 (patch)
tree12938df4080ad277e5f521431d5e3a93760cb8bd /documentation/sdk-manual/working-projects.rst
parent65b368dc442d955b4d8e550fea31816a72fe32f0 (diff)
downloadpoky-master-next.tar.gz
create-spdx-2.2.bbclass: support to override the version of a package in SBOM 2master-next
By default, still use ${PV} as the the version of a package in SBOM 2 $ echo 'INHERIT:remove = "create-spdx"' >> conf/local.conf $ echo 'INHERIT += "create-spdx-2.2"' >> conf/local.conf $ bitbake acl $ jq . tmp/deploy/spdx/2.2/core2-64/recipes/recipe-acl.spdx.json ... "name": "acl", "summary": "Utilities for managing POSIX Access Control Lists", "supplier": "Organization: OpenEmbedded ()", "versionInfo": "2.3.2" }, ... Support to override it by setting SPDX_PACKAGE_VERSION, such as set SPDX_PACKAGE_VERSION = "${EXTENDPKGV}" in local.conf to append PR to versionInfo in SBOM 2 $ echo 'SPDX_PACKAGE_VERSION = "${EXTENDPKGV}"' >> conf/local.conf $ bitbake acl $ jq . tmp/deploy/spdx/2.2/core2-64/recipes/recipe-acl.spdx.json ... "name": "acl", "summary": "Utilities for managing POSIX Access Control Lists", "supplier": "Organization: OpenEmbedded ()", "versionInfo": "2.3.2-r0" }, ... (From OE-Core rev: e1dc0cde0ce1266c4777cca7b7b57b22c5fb5cb5) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/sdk-manual/working-projects.rst')
0 files changed, 0 insertions, 0 deletions