diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2025-03-27 14:16:52 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-28 11:19:40 +0000 |
| commit | 8c9f86ce0628d257015a472729fd119bc56bf761 (patch) | |
| tree | 93aa1e2a0ca03505791ba8ba62850da590caf318 /meta/classes/create-spdx-2.2.bbclass | |
| parent | b199e9ff9f3d58b3361bf4cc5612cbcb4fbadd7f (diff) | |
| download | poky-8c9f86ce0628d257015a472729fd119bc56bf761.tar.gz | |
classes/spdx-*.bbclass: move spdx2 specific variables out of spdx-common class
Setting SPDX_ARCHIVE_SOURCES and SPDX_ARCHIVE_PACKAGED makes no
difference when using the spdx-3.0 class. Move these two in the spdx-2.0
class since they are only used there.
(From OE-Core rev: 8ce06538c9cde0f09909a5a2e61ec10b0d35df49)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 de62379c50..7e8f8b9ff5 100644 --- a/meta/classes/create-spdx-2.2.bbclass +++ b/meta/classes/create-spdx-2.2.bbclass | |||
| @@ -15,6 +15,8 @@ SPDX_SUPPLIER[doc] = "The SPDX PackageSupplier field for SPDX packages created f | |||
| 15 | is the contact information for the person or organization who is doing the \ | 15 | is the contact information for the person or organization who is doing the \ |
| 16 | build." | 16 | build." |
| 17 | 17 | ||
| 18 | SPDX_ARCHIVE_SOURCES ??= "0" | ||
| 19 | SPDX_ARCHIVE_PACKAGED ??= "0" | ||
| 18 | 20 | ||
| 19 | def get_namespace(d, name): | 21 | def get_namespace(d, name): |
| 20 | import uuid | 22 | import uuid |
