fragments/yocto/sbom-cve-check: fix conflict with tag=
PATCH 1/3 fragments/yocto/sbom-cve-check: fix conflict with tag=
When this fragment is enabled, SRCREV is set to AUTOREV, but this then causes do_unpack to fail for both sbom-cve-check-update-cvelist-native and sbom-cve-check-update-nvd-native, since the tag SRCREV does not match with the 'main' HEAD AUTOREV.
Rather than allow the tag to float, for those that desire reproducible builds with just IMAGES_CLASSES:append = " sbom-cve-check" and not this fragment, set SRC_URI **without** the tag= in this fragment.
--- meta/conf/fragments/yocto/sbom-cve-check.conf | 3 +++ 1 file changed, 3 insertions(+)
meta/conf/fragments/yocto/sbom-cve-check.conf +3 -0
@@ -13,6 +13,9 @@ IMAGE_CLASSES:append = " sbom-cve-check" SRCREV:pn-sbom-cve-check-update-nvd-native = "${AUTOREV}" SRCREV:pn-sbom-cve-check-update-cvelist-native = "${AUTOREV}" +# Drop the tag= or else do_unpack fails +SRC_URI:pn-sbom-cve-check-update-cvelist-native = "git://github.com/CVEProject/cvelistV5.git;branch=main;protocol=https;destsuffix=" +SRC_URI:pn-sbom-cve-check-update-nvd-native = "git://github.com/fkie-cad/nvd-json-data-feeds.git;branch=main;protocol=https;destsuffix=" SPDX_INCLUDE_VEX = "all" SPDX_INCLUDE_COMPILED_SOURCES:pn-linux-yocto = "1"
Signature · 1 line
2.55.0
PATCH 2/3 sbom-cve-check-update-cvelist-native: -> 2026-07-23
The diff is quite large, but a partial comparison can be seen:
https://github.com/CVEProject/cvelistV5/compare/2026-06-24_baseline..2026-07-23_baseline
---
...24.bb => sbom-cve-check-update-cvelist-native_2026-07-23.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/sbom-cve-check/{sbom-cve-check-update-cvelist-native_2026-06-24.bb => sbom-cve-check-update-cvelist-native_2026-07-23.bb} (89%)meta/recipes-devtools/sbom-cve-check/sbom-cve-check-update-cvelist-native_2026-07-23.bb renamed from meta/recipes-devtools/sbom-cve-check/sbom-cve-check-update-cvelist-native_2026-06-24.bb +1 -1
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/CVEProject/cvelistV5" SRC_URI = "git://github.com/CVEProject/cvelistV5.git;branch=main;protocol=https;destsuffix=;tag=${PV}_baseline" SBOM_CVE_CHECK_DB_NAME = "cvelist" -SRCREV = "966bddf787997b471325e065cae82702a60c64ff" +SRCREV = "7a274ec07043f54c07d0a3b5c7fc89ba5793f023" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>.+)_baseline" require sbom-cve-check-update-db.inc
Signature · 1 line
2.55.0
PATCH 3/3 sbom-cve-check-update-nvd-native: -> 2026.07.23-000007
In reply to Tim OrlingThe diff is quite large, but a partial comparison can be seen:
https://github.com/fkie-cad/nvd-json-data-feeds/compare/v2026.06.24-000003..v2026.07.23-000007
---
...bb => sbom-cve-check-update-nvd-native_2026.07.23-000007.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/sbom-cve-check/{sbom-cve-check-update-nvd-native_2026.06.24-000003.bb => sbom-cve-check-update-nvd-native_2026.07.23-000007.bb} (89%)meta/recipes-devtools/sbom-cve-check/sbom-cve-check-update-nvd-native_2026.07.23-000007.bb renamed from meta/recipes-devtools/sbom-cve-check/sbom-cve-check-update-nvd-native_2026.06.24-000003.bb +1 -1
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/fkie-cad/nvd-json-data-feeds" SRC_URI = "git://github.com/fkie-cad/nvd-json-data-feeds.git;branch=main;protocol=https;destsuffix=;tag=v${PV}" SBOM_CVE_CHECK_DB_NAME = "nvd-fkie" -SRCREV = "11e62eba27133a54836b7a081d05ff96f72d879b" +SRCREV = "64a0cea215628d780438fba8bfe0f3300db1b702" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.+)" require sbom-cve-check-update-db.inc
Signature · 1 line
2.55.0