From: Heiko Thiery <heiko.thiery@gmail.com>
To: buildroot@buildroot.org
Cc: Thomas Perale <thomas.perale@mind.be>,
Heiko Thiery <heiko.thiery@gmail.com>
Subject: [Buildroot] [PATCH] utils/generate-cyclonedx: add uuid as serialNumber
Date: Fri, 18 Sep 2026 09:36:31 +0200 [thread overview]
Message-ID: <20260918073631.665322-1-heiko.thiery@gmail.com> (raw)
In CycloneDX the serialNumber field is an optional top-level field that
uniquely identified a SBOM using a URN RFC 4122 UUID format.
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
utils/generate-cyclonedx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/utils/generate-cyclonedx b/utils/generate-cyclonedx
index df12ee84c0..c3b614b6be 100755
--- a/utils/generate-cyclonedx
+++ b/utils/generate-cyclonedx
@@ -19,6 +19,7 @@ import urllib.request
import subprocess
import sys
import re
+import uuid
CYCLONEDX_VERSION = "1.6"
@@ -534,6 +535,7 @@ def main():
"bomFormat": "CycloneDX",
"$schema": f"http://cyclonedx.org/schema/bom-{CYCLONEDX_VERSION}.schema.json",
"specVersion": f"{CYCLONEDX_VERSION}",
+ "serialNumber": uuid.uuid4().urn,
"metadata": {
"component": {
"bom-ref": args.project_name,
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2026-09-18 7:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-18 7:36 Heiko Thiery [this message]
2026-09-18 8:32 ` [Buildroot] [PATCH] utils/generate-cyclonedx: add uuid as serialNumber Thomas Perale via buildroot
2026-09-18 8:58 ` Heiko Thiery
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=20260918073631.665322-1-heiko.thiery@gmail.com \
--to=heiko.thiery@gmail.com \
--cc=buildroot@buildroot.org \
--cc=thomas.perale@mind.be \
/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