summaryrefslogtreecommitdiffstats
path: root/meta/classes/create-spdx-2.2.bbclass
diff options
context:
space:
mode:
authorDaniel Turull <daniel.turull@ericsson.com>2025-12-05 15:51:09 +0100
committerSteve Sakoman <steve@sakoman.com>2025-12-17 08:48:37 -0800
commit8bddd959ff4c6bd9f0567ff8447828ebb69038cb (patch)
tree448dd276caed1d4a0a628b7cd02225ebfc09cfa3 /meta/classes/create-spdx-2.2.bbclass
parent9497778a4d756daa29c4fa8d45d1a242d63ab8cc (diff)
downloadpoky-8bddd959ff4c6bd9f0567ff8447828ebb69038cb.tar.gz
classes/create-spdx-2.2: Define SPDX_VERSION to 2.2
SPDX_VERSION is used in DEPLOY_DIR_SPDX but if is not defined, will default to SPDX-1.1 Define SPDX_VERSION to have the correct deploy path, to align with master branch behaviour. The change in path was introduced in 8996d0899d CC: Kamel Bouhara (Schneider Electric) <kamel.bouhara@bootlin.com> CC: JPEWhacker@gmail.com (From OE-Core rev: 04cc49593a0ba2c51e4f4d477d4587079735b624) Signed-off-by: Daniel Turull <daniel.turull@ericsson.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/classes/create-spdx-2.2.bbclass')
-rw-r--r--meta/classes/create-spdx-2.2.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/create-spdx-2.2.bbclass b/meta/classes/create-spdx-2.2.bbclass
index 2351a3d5a1..aaa2e78fe2 100644
--- a/meta/classes/create-spdx-2.2.bbclass
+++ b/meta/classes/create-spdx-2.2.bbclass
@@ -4,6 +4,8 @@
4# SPDX-License-Identifier: GPL-2.0-only 4# SPDX-License-Identifier: GPL-2.0-only
5# 5#
6 6
7SPDX_VERSION = "2.2"
8
7DEPLOY_DIR_SPDX ??= "${DEPLOY_DIR}/spdx/${SPDX_VERSION}" 9DEPLOY_DIR_SPDX ??= "${DEPLOY_DIR}/spdx/${SPDX_VERSION}"
8 10
9# The product name that the CVE database uses. Defaults to BPN, but may need to 11# The product name that the CVE database uses. Defaults to BPN, but may need to