mbox series

[v2,0/2] Make SBOM naming more robust against downstream changes

Message ID 20260331073856.1281781-1-felix.moessbauer@siemens.com
Headers show
Series Make SBOM naming more robust against downstream changes | expand

Message

Felix Moessbauer March 31, 2026, 7:38 a.m. UTC
The related inconsistencies have been found on isar-cip-core tests
(kas-cip.yml:kas/board/x86-uefi.yml:kas/opt/rt.yml:kas/opt/test.yml:kas/opt/trixie.yml)
where the IMAGE_FULLNAME variable is changed and no longer equal to
ROOTFS_PACKAGE_SUFFIX. Without the patches, the respective CIP variant cannot be built.

This patch should go into the v1.0 release, as it is critical for isar-cip-core
(rc-1 fails on CIP).

Changes since v1:

- rebased onto next
- adjusted test case to new (consistent) naming
- no code changes

Best regards,
Felix

Felix Moessbauer (2):
  sbom: derive rootfs sbom name from ROOTFS_PACKAGE_SUFFIX
  sbom: use ROOTFS_PACKAGE_SUFFIX on merging

 meta/classes-recipe/imagetypes_wic.bbclass | 2 +-
 meta/classes/sbom.bbclass                  | 2 +-
 testsuite/cibase.py                        | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

Comments

Zhihang Wei March 31, 2026, 7:40 a.m. UTC | #1
On 3/31/26 09:38, Felix Moessbauer wrote:
> The related inconsistencies have been found on isar-cip-core tests
> (kas-cip.yml:kas/board/x86-uefi.yml:kas/opt/rt.yml:kas/opt/test.yml:kas/opt/trixie.yml)
> where the IMAGE_FULLNAME variable is changed and no longer equal to
> ROOTFS_PACKAGE_SUFFIX. Without the patches, the respective CIP variant cannot be built.
>
> This patch should go into the v1.0 release, as it is critical for isar-cip-core
> (rc-1 fails on CIP).
Noted. On CI now.

Zhihang
> Changes since v1:
>
> - rebased onto next
> - adjusted test case to new (consistent) naming
> - no code changes
>
> Best regards,
> Felix
>
> Felix Moessbauer (2):
>    sbom: derive rootfs sbom name from ROOTFS_PACKAGE_SUFFIX
>    sbom: use ROOTFS_PACKAGE_SUFFIX on merging
>
>   meta/classes-recipe/imagetypes_wic.bbclass | 2 +-
>   meta/classes/sbom.bbclass                  | 2 +-
>   testsuite/cibase.py                        | 6 +++---
>   3 files changed, 5 insertions(+), 5 deletions(-)
>