Skip to content

Commit 16ced6d

Browse files
authored
T8542: Add functionality to generate SBOM file from ISO image
Exclude the transfer directory from scan.
1 parent bdd7024 commit 16ced6d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/check-qemu-install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,6 +1328,7 @@ try:
13281328
# Generate SBOMs using the syft util for the whole filesystem with all layers, output both CycloneDX and SPDX formats
13291329
syft_cmd = (
13301330
f'sudo TERM=dumb /tmp/syft / -q'
1331+
f' --exclude **/mnt/sbom_transfer/**'
13311332
f' --source-name {iso_name}.iso --source-version {iso_name}'
13321333
f' -o cyclonedx-json=/mnt/sbom_transfer/{sbom_file_cdx}'
13331334
f' -o spdx-json=/mnt/sbom_transfer/{sbom_file_spdx}'

0 commit comments

Comments
 (0)