Skip to content
Snippets Groups Projects

CI: add sbom generation for zephyr and fix for linux

Merged Davide Gardenal requested to merge tony3oo3/oniro:tony/sbom_debug into kirkstone
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -283,6 +283,7 @@
@@ -283,6 +283,7 @@
.build-wic-image:
.build-wic-image:
extends: .build-image
extends: .build-image
variables:
variables:
 
CI_ONIRO_BB_LOCAL_CONF_plus_equals_INHERIT: create-spdx
CI_ONIRO_JOB_ARTIFACTS: "*.wic.* *.bmap"
CI_ONIRO_JOB_ARTIFACTS: "*.wic.* *.bmap"
script:
script:
- !reference [.build-image, script]
- !reference [.build-image, script]
@@ -388,6 +389,10 @@
@@ -388,6 +389,10 @@
CI_ONIRO_JOB_ARTIFACTS: "*.elf *.bin"
CI_ONIRO_JOB_ARTIFACTS: "*.elf *.bin"
script:
script:
- !reference [.build-image, script]
- !reference [.build-image, script]
 
- echo 'INHERIT += "create-spdx"' >> conf/local.conf
 
- echo 'do_create_spdx[nostamp] = "1"' >> conf/local.conf
 
- echo 'do_create_runtime_spdx[nostamp] = "1"' >> conf/local.conf
 
- bitbake --runall=do_create_runtime_spdx $CI_ONIRO_RECIPE_NAME
# This job is currently used to customize the behavior in oniro and xts-acts.
# This job is currently used to customize the behavior in oniro and xts-acts.
# It will be removed when that is safe to do so. It is not documented.
# It will be removed when that is safe to do so. It is not documented.
Loading