From: "'Felix Moessbauer' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: cedric.hombourger@siemens.com, zdenek.bouska@siemens.com,
Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH 1/1] debsbom: update to version 0.5.1 and rework dependencies
Date: Wed, 14 Jan 2026 12:27:37 +0100 [thread overview]
Message-ID: <20260114112737.357554-1-felix.moessbauer@siemens.com> (raw)
In debsbom 0.5 the serializer dependencies are now all optional. Support
for them is only needed if serializing to the corresponding format. By
that, we need to manually install them in the sbom rootfs. Further, we
can remove them as build-time dependencies in the python3-debsbom
recipe, which increases the concurrency in the build and reduces the
total build time.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
PS: @Zdenek This release still does not model the virtual packages, but
you can use it to just update the SRCREV to the latest commit on debsbom
master for testing. Once you confirm that this solves the issue, we will
cut debsbom 0.6.0 and update this patch as well.
Cheers!
Felix
meta/recipes-devtools/sbom-chroot/sbom-chroot.bb | 7 +++++--
...python3-debsbom_0.4.0.bb => python3-debsbom_0.5.1.bb} | 9 +++------
2 files changed, 8 insertions(+), 8 deletions(-)
rename meta/recipes-support/python3-debsbom/{python3-debsbom_0.4.0.bb => python3-debsbom_0.5.1.bb} (77%)
diff --git a/meta/recipes-devtools/sbom-chroot/sbom-chroot.bb b/meta/recipes-devtools/sbom-chroot/sbom-chroot.bb
index 5cf43db8..bf6d6683 100644
--- a/meta/recipes-devtools/sbom-chroot/sbom-chroot.bb
+++ b/meta/recipes-devtools/sbom-chroot/sbom-chroot.bb
@@ -17,8 +17,11 @@ ROOTFS_FEATURES:remove = "generate-initrd"
ROOTFS_INSTALL_COMMAND:remove = "rootfs_restore_initrd_tooling"
# additional packages for the SBOM chroot
-SBOM_IMAGE_INSTALL = "python3-debsbom"
-DEPENDS += "python3-debsbom"
+DEPENDS:append:bookworm = " python3-cyclonedx-lib"
+DEPENDS:append:noble = " python3-cyclonedx-lib"
+DEPENDS += "python3-debsbom python3-spdx-tools"
+
+SBOM_IMAGE_INSTALL = "python3-debsbom python3-spdx-tools python3-cyclonedx-lib"
ROOTFSDIR = "${WORKDIR}/rootfs"
ROOTFS_PACKAGES = "${SBOM_IMAGE_INSTALL}"
diff --git a/meta/recipes-support/python3-debsbom/python3-debsbom_0.4.0.bb b/meta/recipes-support/python3-debsbom/python3-debsbom_0.5.1.bb
similarity index 77%
rename from meta/recipes-support/python3-debsbom/python3-debsbom_0.4.0.bb
rename to meta/recipes-support/python3-debsbom/python3-debsbom_0.5.1.bb
index 410f358a..f1524129 100644
--- a/meta/recipes-support/python3-debsbom/python3-debsbom_0.4.0.bb
+++ b/meta/recipes-support/python3-debsbom/python3-debsbom_0.5.1.bb
@@ -9,9 +9,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
S = "${WORKDIR}/git"
-DEPENDS = "python3-spdx-tools"
-DEPENDS:append:bookworm = " python3-packageurl python3-cyclonedx-lib"
-DEPENDS:append:noble = " python3-packageurl python3-cyclonedx-lib"
+DEPENDS:append:bookworm = " python3-packageurl"
+DEPENDS:append:noble = " python3-packageurl"
S = "${WORKDIR}/git"
@@ -22,8 +21,6 @@ DEBIAN_BUILD_DEPENDS = "dh-python, \
python3-setuptools, \
pybuild-plugin-pyproject, \
python3-packageurl, \
- python3-cyclonedx-lib, \
- python3-spdx-tools, \
python3-debian, \
python3-requests, \
python3-zstandard, \
@@ -37,7 +34,7 @@ SRC_URI = "git://github.com/siemens/debsbom.git;protocol=https;branch=main; \
file://rules \
file://0001-Use-old-license-description-in-pyproject.toml.patch \
"
-SRCREV = "a600f60966d08803eb17bfb81eb8828921497453"
+SRCREV = "ba63720dfc0dc6dcb01994031e092aaebb62a399"
do_prepare_build[cleandirs] += "${S}/debian"
do_prepare_build() {
--
2.51.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260114112737.357554-1-felix.moessbauer%40siemens.com.
next reply other threads:[~2026-01-14 11:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-14 11:27 'Felix Moessbauer' via isar-users [this message]
2026-01-15 13:56 ` 'Bouska, Zdenek' via isar-users
2026-01-15 14:28 ` 'MOESSBAUER, Felix' via isar-users
2026-01-20 15:36 ` 'Bouska, Zdenek' via isar-users
2026-01-20 15:28 ` Zhihang Wei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260114112737.357554-1-felix.moessbauer@siemens.com \
--to=isar-users@googlegroups.com \
--cc=cedric.hombourger@siemens.com \
--cc=felix.moessbauer@siemens.com \
--cc=zdenek.bouska@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox