From b3e3be383c010836ea3c7cd60ec1ae371d6e207b Mon Sep 17 00:00:00 2001
From: Davide Gardenal <davide.gardenal@huawei.com>
Date: Mon, 11 Jul 2022 16:35:12 +0200
Subject: [PATCH] CI: fix sbom generation for Linux images

Add missing INHERITs to Linux jobs. Now all
Linux images in CI run "create-spdx.bbclass" correctly.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
---
 .oniro-ci/build-generic.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.oniro-ci/build-generic.yaml b/.oniro-ci/build-generic.yaml
index 1da412c1..db49f928 100644
--- a/.oniro-ci/build-generic.yaml
+++ b/.oniro-ci/build-generic.yaml
@@ -283,6 +283,7 @@
 .build-wic-image:
   extends: .build-image
   variables:
+    CI_ONIRO_BB_LOCAL_CONF_plus_equals_INHERIT: create-spdx
     CI_ONIRO_JOB_ARTIFACTS: "*.wic.* *.bmap"
   script:
     - !reference [.build-image, script]
-- 
GitLab