Skip to content

Commit efcb066

Browse files
committed
docs: add SBOM for more extensions
Partial for #10940 Signed-off-by: Mateusz Urbanek <[email protected]>
1 parent b42fa41 commit efcb066

File tree

16 files changed

+94
-2
lines changed

16 files changed

+94
-2
lines changed

dvb/cx23885/pkg.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ steps:
4646
cp -r /rootfs/ /extensions-validator-rootfs/rootfs
4747
cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
4848
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
49+
sbom:
50+
outputPath: /rootfs/usr/local/share/spdx/cx23885.spdx.json
51+
version: {{ .LINUX_DVB_FIRMWARE }}
4952
# {{ end }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr
5053
finalize:
5154
- from: /rootfs

dvb/dvb-m88ds3103/pkg.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ steps:
3333
cp -r /rootfs/ /extensions-validator-rootfs/rootfs
3434
cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
3535
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
36+
sbom:
37+
outputPath: /rootfs/usr/local/share/spdx/dvb-m88ds3103.spdx.json
38+
version: {{ .VERSION }}
3639
finalize:
3740
- from: /rootfs
3841
to: /rootfs

firmware/intel-ucode/pkg.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ steps:
2424
cp -r /rootfs/ /extensions-validator-rootfs/rootfs
2525
cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
2626
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
27+
sbom:
28+
outputPath: /rootfs/usr/local/share/spdx/intel-ucode.spdx.json
29+
version: {{ .INTEL_UCODE_VERSION }}
2730
finalize:
2831
- from: /rootfs
2932
to: /rootfs

guest-agents/qemu-guest-agent/pcre2/pkg.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ steps:
2323
install:
2424
- |
2525
make DESTDIR=/rootfs install
26+
sbom:
27+
outputPath: /rootfs/usr/local/share/spdx/pcre2.spdx.json
28+
version: {{ .PCRE2_VERSION }}
29+
cpes:
30+
- cpe:2.3:a:pcre:pcre2:{{ .CONTAINER_TOOLKIT_VERSION }}:*:*:*:*:*:*:*
31+
licenses:
32+
- BSD-2-Clause
2633
finalize:
2734
- from: /rootfs
2835
to: /

guest-agents/vmtoolsd-guest-agent/pkg.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@ variant: scratch
33
shell: /bin/bash
44
dependencies:
55
- stage: base
6-
- image: {{ .BUILD_ARG_PKGS_PREFIX }}/talos-vmtoolsd:{{ .TALOS_VMTOOLSD_VERSION }}
6+
- image: "{{ .BUILD_ARG_PKGS_PREFIX }}/talos-vmtoolsd:{{ .TALOS_VMTOOLSD_VERSION }}"
77
from: /
88
to: /rootfs
99
steps:
1010
- test:
1111
- |
1212
/extensions-validator validate --rootfs=/rootfs --pkg-name="${PKG_NAME}"
13+
sbom:
14+
outputPath: /rootfs/usr/local/share/spdx/vmtoolsd-guest-agent.spdx.json
15+
version: {{ .TALOS_VMTOOLSD_VERSION }}
16+
licenses:
17+
- Apache-2.0
1318
finalize:
1419
- from: /rootfs
1520
to: /

nvidia-gpu/nvidia-container-toolkit/nvidia-container-cli/libseccomp/pkg.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ steps:
3636
make install DESTDIR=/rootfs
3737
# we only need the libs and headers, remove everything else
3838
find /rootfs/usr/local/ -type d \( -name bin -o -name sbin -o -name share \) -prune -exec rm -rf {} \;
39+
sbom:
40+
outputPath: /rootfs/usr/local/share/spdx/libseccomp.spdx.json
41+
version: {{ .LIBSECCOMP_VERSION }}
42+
cpes:
43+
- cpe:2.3:a:libseccomp_project:libseccomp:{{ .LIBSECCOMP_VERSION }}:*:*:*:*:*:*:*
44+
licenses:
45+
- LGPL-2.1
3946
finalize:
4047
- from: /rootfs
4148
to: /rootfs

nvidia-gpu/nvidia-container-toolkit/nvidia-container-cli/lts/pkg.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ steps:
6868
6969
# run ldconfig to update the cache
7070
/rootfs/usr/local/glibc/sbin/ldconfig -r /rootfs
71+
sbom:
72+
outputPath: /rootfs/usr/local/share/spdx/nvidia-container-cli.spdx.json
73+
version: {{ .LIBNVIDIA_CONTAINER_VERSION }}
74+
licenses:
75+
- Apache-2.0
76+
- GPL-3.0
77+
- LGPL-3.0
7178
finalize:
7279
- from: /rootfs
7380
to: /rootfs

nvidia-gpu/nvidia-container-toolkit/nvidia-container-cli/production/pkg.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ steps:
6868
6969
# run ldconfig to update the cache
7070
/rootfs/usr/local/glibc/sbin/ldconfig -r /rootfs
71+
sbom:
72+
outputPath: /rootfs/usr/local/share/spdx/nvidia-container-cli.spdx.json
73+
version: {{ .LIBNVIDIA_CONTAINER_VERSION }}
74+
licenses:
75+
- Apache-2.0
76+
- GPL-3.0
77+
- LGPL-3.0
7178
finalize:
7279
- from: /rootfs
7380
to: /rootfs

nvidia-gpu/nvidia-container-toolkit/nvidia-container-runtime/pkg.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ steps:
5858
5959
mkdir -p /rootfs/usr/local/etc/nvidia-container-runtime
6060
cp /pkg/nvidia-container-runtime.toml /rootfs/usr/local/etc/nvidia-container-runtime/config.toml
61+
sbom:
62+
outputPath: /rootfs/usr/local/share/spdx/nvidia-container-runtime.spdx.json
63+
version: {{ .CONTAINER_TOOLKIT_VERSION }}
64+
cpes:
65+
- cpe:2.3:a:nvidia:nvidia_container_toolkit:{{ .CONTAINER_TOOLKIT_VERSION }}:*:*:*:*:*:*:*
66+
licenses:
67+
- Apache-2.0
6168
finalize:
6269
- from: /rootfs
6370
to: /rootfs

power/nut-client/pkg.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ steps:
8181
cp -r /rootfs/ /extensions-validator-rootfs/rootfs
8282
cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
8383
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
84+
sbom:
85+
outputPath: /rootfs/usr/local/share/spdx/nut-client.spdx.json
86+
version: {{ .NUT_VERSION }}
87+
licenses:
88+
- GPL-2.0
89+
- GPL-3.0
8490
finalize:
8591
- from: /rootfs
8692
to: /rootfs

0 commit comments

Comments
 (0)