All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Luis <luis.augenstein@tngtech.com>
Cc: nathan@kernel.org, nsc@kernel.org, linux-kbuild@vger.kernel.org,
	linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
	kstewart@linuxfoundation.org, maximilian.huber@tngtech.com
Subject: Re: [PATCH v7 00/15] add SPDX SBOM generation script
Date: Fri, 22 May 2026 13:18:48 +0200	[thread overview]
Message-ID: <2026052233-task-shifter-4570@gregkh> (raw)
In-Reply-To: <20260518062102.2051814-1-luis.augenstein@tngtech.com>

On Mon, May 18, 2026 at 08:20:47AM +0200, Luis wrote:
> This patch series introduces a Python-based script for generating SBOM
> documents in the SPDX 3.0.1 format for kernel builds.
> 
> A Software Bill of Materials (SBOM) describes the individual components
> of a software product. For the kernel, the goal is to describe the
> distributable build outputs (typically the kernel image and modules),
> the source files involved in producing these outputs, and the build
> process that connects the source and output files.
> 
> To achieve this, the sbom script generates three SPDX documents:
> 
> - sbom-output.spdx.json
>   Describes the final build outputs together with high-level
>   build metadata.
> 
> - sbom-source.spdx.json
>   Describes all source files involved in the build, including
>   licensing information and additional file metadata.
> 
> - sbom-build.spdx.json
>   Describes the entire build process, linking source files
>   from the source SBOM to output files in the output SBOM.
> 
> The sbom script is optional. It can be invoked via the `make sbom` target.
> This target depends on `all` and triggers a standard kernel build. Once all
> output artifacts have been generated, starting from the kernel image and
> modules as root nodes, the script reconstructs the dependency graph up
> to the original source files. Build dependencies are primarily derived from
> the `.cmd` files generated by Kbuild, which record the full command used
> to build each output file.
> 
> Currently, the script only supports x86 and arm64 architectures.
> 
> This series was developed with assistance from AI tools, namely Cursor
> with Claude Sonnet 4.5 and OpenCode with GLM-4.7. The AI was used for
> documentation, exploring the repository, and iterating on design
> questions and implementation details such as regex patterns.
> 
> Assisted-by: Cursor:claude-sonnet-4-5
> Assisted-by: OpenCode:GLM-4-7
> Co-developed-by: Maximilian Huber <maximilian.huber@tngtech.com>
> Signed-off-by: Maximilian Huber <maximilian.huber@tngtech.com>
> Signed-off-by: Luis Augenstein <luis.augenstein@tngtech.com>

Now applied to the spdx-linus branch, thanks!

greg k-h

      parent reply	other threads:[~2026-05-22 11:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-18  6:20 [PATCH v7 00/15] add SPDX SBOM generation script Luis
2026-05-18  6:20 ` [PATCH v7 01/15] scripts/sbom: add documentation Luis
2026-05-18  6:20 ` [PATCH v7 02/15] scripts/sbom: integrate script in make process Luis
2026-05-18  6:20 ` [PATCH v7 03/15] scripts/sbom: setup sbom logging Luis
2026-05-18  6:20 ` [PATCH v7 04/15] scripts/sbom: add command parsers Luis
2026-05-18  6:20 ` [PATCH v7 05/15] scripts/sbom: add cmd graph generation Luis
2026-05-18  6:20 ` [PATCH v7 06/15] scripts/sbom: add additional dependency sources for cmd graph Luis
2026-05-18  6:20 ` [PATCH v7 07/15] scripts/sbom: add SPDX classes Luis
2026-05-18  6:20 ` [PATCH v7 08/15] scripts/sbom: add JSON-LD serialization Luis
2026-05-18  6:20 ` [PATCH v7 09/15] scripts/sbom: add shared SPDX elements Luis
2026-05-18  6:20 ` [PATCH v7 10/15] scripts/sbom: collect file metadata Luis
2026-05-18  6:20 ` [PATCH v7 11/15] scripts/sbom: add SPDX output graph Luis
2026-05-18  6:20 ` [PATCH v7 12/15] scripts/sbom: add SPDX source graph Luis
2026-05-18  6:21 ` [PATCH v7 13/15] scripts/sbom: add SPDX build graph Luis
2026-05-18  6:21 ` [PATCH v7 14/15] scripts/sbom: add unit tests for command parsers Luis
2026-05-18  6:21 ` [PATCH v7 15/15] scripts/sbom: add unit tests for SPDX-License-Identifier parsing Luis
2026-05-22 11:18 ` Greg KH [this message]

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=2026052233-task-shifter-4570@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=kstewart@linuxfoundation.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luis.augenstein@tngtech.com \
    --cc=maximilian.huber@tngtech.com \
    --cc=nathan@kernel.org \
    --cc=nsc@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.