summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Klymenko <a.klymenko@vyos.io>2026-04-21 18:15:59 +0300
committerGitHub <noreply@github.com>2026-04-21 18:15:59 +0300
commitbdd7024da3a71854c6ce15c312581900e9b817c8 (patch)
tree8f95df41eb9049be90b8f6796c794d3b39117b3f
parent194f38b2d9582110d14b21b67e48ed13b58152f9 (diff)
downloadvyos-build-bdd7024da3a71854c6ce15c312581900e9b817c8.tar.gz
vyos-build-bdd7024da3a71854c6ce15c312581900e9b817c8.zip
T8542: Add functionality to generate SBOM file from ISO image
Add make_sbom target to Makefile.
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6316e016..a57538fc 100644
--- a/Makefile
+++ b/Makefile
@@ -90,6 +90,11 @@ qemu-live: checkiso
oci: checkiso
scripts/iso-to-oci $(ISO_PATH)
+.PHONY: make_sbom
+.ONESHELL:
+make_sbom: checkiso
+ @scripts/check-qemu-install --debug --iso $(ISO_PATH) --sbom --cpu 2 --memory 4 $(if $(SBOM_OUTPUT_DIR),--sbom-output-dir $(SBOM_OUTPUT_DIR))
+
.PHONY: clean
.ONESHELL:
clean: