]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scripts/sbom: collect file metadata
authorLuis Augenstein <luis.augenstein@tngtech.com>
Mon, 18 May 2026 06:20:57 +0000 (08:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 May 2026 11:14:41 +0000 (13:14 +0200)
commitef0675c8712fea2db638594e619e7a557c2502d6
treef020ea2b3f8f9ba7fe3efdbfa73644fc08427c82
parent11f9c14d0e498933b586f8de2e3d0f0c9b22dfee
scripts/sbom: collect file metadata

Implement the kernel_file module that collects file metadata,
including license identifier for source files, SHA-256 hash,
Git blob object ID, an estimation of the file type, and
whether files belong to the source, build, or output SBOM.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/sbom/sbom/spdx_graph/build_spdx_graphs.py
scripts/sbom/sbom/spdx_graph/kernel_file.py [new file with mode: 0644]