zephyr/scripts
Steve Winslow e12d9385c6 west: spdx: Fix missing field in build results
When using the west spdx functionality to create an SPDX SBOM
during a build, several SPDX Documents are created. In some
instances, the SPDX metadata field PackageLicenseInfoFromFiles
is required to be present according to the SPDX 2.2 spec, but is
being omitted from the build.spdx Document if no licenses were
detected.

This commit fixes this bug so that a NOASSERTION value is written
for this field for Packages that do not contain any detected
licenses.

Additionally, this ensures that Packages with a FilesAnalyzed
value of false do not have this field written, also in accordance
with the spec.

Fixes #42070

Signed-off-by: Steve Winslow <steve@swinslow.net>
2022-01-26 18:15:33 +01:00
..
checkpatch scripts: checkpatch: typedefsfile: add pinctrl_soc_pin_t 2021-12-03 13:21:40 +01:00
ci actions: twister: scale nodes up for large test coverage 2022-01-06 07:32:20 -05:00
coccinelle
coredump debug: coredump: dummy window registers, assign an to arn 2021-12-14 07:40:55 -05:00
dts scripts: gen_defines: zephyr,linker-region unique 2021-12-09 16:23:03 +01:00
footprint footprint: track audio features on xtensa 2022-01-05 14:59:01 -05:00
gitlint
kconfig scripts/Kconfig: add dt_node_str_prop_equals Kconfig function 2021-11-24 12:28:02 +01:00
logging/dictionary arch: add MIPS architecture support 2022-01-19 13:48:21 -05:00
net
pylib/twister twister: ignore unencodable unicode of west flash command. 2022-01-25 08:15:17 -05:00
release scripts: add script to extract top-ten bug-bashers 2021-09-01 17:06:50 -04:00
schemas/twister twister: fix the testcase-schema.yaml 2021-11-19 11:46:38 -05:00
support
tests twister: raise error for non-existing platform call 2022-01-11 09:53:40 -05:00
tracing
utils scripts: utils: add pinctrl migration script for nRF boards 2021-11-26 14:20:51 +01:00
west_commands west: spdx: Fix missing field in build results 2022-01-26 18:15:33 +01:00
.gitignore
checkpatch.pl checkpatch: Add UTIL_CAT support to checkpatch 2021-12-04 07:22:56 -05:00
checkstack.pl
coccicheck
dir_is_writeable.py
file2hex.py
gen_app_partitions.py scripts: support compile_commands.json in gen_app_partitions.py 2021-11-25 10:41:28 -05:00
gen_cfb_font_header.py
gen_gcov_files.py
gen_handles.py device: iterable supported devices 2021-11-23 12:17:14 +01:00
gen_image_info.py cmake: support ELF image adjustment 2022-01-22 16:57:31 -05:00
gen_kobject_list.py scripts/arch: remove usage of deprecated LooseVersion 2021-11-19 19:16:11 -05:00
gen_kobject_placeholders.py scripts: gen_kobject_placeholders: iterating the dictionary directly 2021-11-19 19:16:11 -05:00
gen_offset_header.py
gen_relocate_app.py scripts: gen_relocate_app: check if argument matches 2021-11-02 22:26:41 -04:00
gen_syscalls.py Tracing: TRACING_SYSCALL status ignored fix 2021-10-26 15:13:08 -04:00
get_maintainer.py scripts: get_maintainer: add count function 2021-10-18 08:36:21 -04:00
list_boards.py scripts: list_boards: handle boards dirs with subset of architectures 2021-06-11 16:26:30 +02:00
mergehex.py
parse_syscalls.py
process_gperf.py scripts/arch: remove usage of deprecated LooseVersion 2021-11-19 19:16:11 -05:00
requirements-base.txt requirements: bump west to >=0.10.1 2021-05-18 09:52:12 -05:00
requirements-build-test.txt
requirements-compliance.txt
requirements-doc.txt doc: update requirements 2022-01-05 14:38:24 +01:00
requirements-extras.txt scripts: add script to extract top-ten bug-bashers 2021-09-01 17:06:50 -04:00
requirements-run-test.txt
requirements.txt
series-push-hook.sh scripts: series-push-hook: Use main as base comparison branch 2021-05-27 15:55:43 -05:00
spelling.txt
subfolder_list.py
tags.sh
twister twister: remove redundant required for generate-hardware-map 2021-12-13 08:46:15 -05:00
uf2conv.py
user_wordsize.py
valgrind.supp
west-commands.yml west: spdx: Generate SPDX 2.2 tag-value documents 2021-05-05 11:14:06 -04:00
zephyr_module.py scripts: support propagating workspace status to zephyr revision 2021-12-14 12:32:10 +01:00