diff options
| author | Daniel Turull <daniel.turull@ericsson.com> | 2025-12-05 15:51:09 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-12-17 08:48:37 -0800 |
| commit | 8bddd959ff4c6bd9f0567ff8447828ebb69038cb (patch) | |
| tree | 448dd276caed1d4a0a628b7cd02225ebfc09cfa3 /meta/classes/create-spdx-2.2.bbclass | |
| parent | 9497778a4d756daa29c4fa8d45d1a242d63ab8cc (diff) | |
| download | poky-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.bbclass | 2 |
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 | ||
| 7 | SPDX_VERSION = "2.2" | ||
| 8 | |||
| 7 | DEPLOY_DIR_SPDX ??= "${DEPLOY_DIR}/spdx/${SPDX_VERSION}" | 9 | DEPLOY_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 |
