From: Tim Orling <ticotimo@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: marta.rybczynska@syslinbit.com
Subject: [PATCH 0/1] vex: rename rootfs CVE manifest JSON to include .vex. suffix
Date: Fri, 20 Mar 2026 09:43:51 -0700 [thread overview]
Message-ID: <cover.1774024001.git.tim.orling@konsulko.com> (raw)
We have other *.rootfs.*.json files, such as .rootfs.spdx.json and
rootfs.testdata.json, so let us remove any ambiquity about the source and
purpose of this file generated by vex.bbclass.
The only other file that defines CVE_CHECK_MANIFEST_JSON is
meta/classes/cve-check.bbclass (line 54). It uses the same ?=
weak assignment with a suffix mechanism:
CVE_CHECK_MANIFEST_JSON_SUFFIX ?= "json"
CVE_CHECK_MANIFEST_JSON ?= "${IMGDEPLOYDIR}/${IMAGE_NAME}.${CVE_CHECK_MANIFEST_JSON_SUFFIX}"
When both cve-check and vex are inherited, vex.bbclass's ?= will win or
lose depending on parse order. Since vex.bbclass is intentionally designed
to supersede cve-check behavior (line 76 in vex.bbclass even checks
inherits_class("cve-check", d)), this is likely fine by design — but it's
worth noting that cve-check.bbclass's suffix mechanism is effectively
bypassed when vex is active.
No tests or documentation currently reference the old .json filename
pattern, so there are no other files needing updates. The main practical
impact is on any external automation or scripts (outside of oe-core repo) that
were consuming ${IMAGE_LINK_NAME}.json as the VEX output — those would need
to be updated to look for ${IMAGE_LINK_NAME}.vex.json instead.
The documentation for sbom-cve-check tool would need an update:
https://sbom-cve-check.readthedocs.io/en/latest/user-guide.html#examples-of-invocation
Tim Orling (1):
vex: rename rootfs CVE manifest JSON to include .vex. suffix
meta/classes/vex.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
2.50.1 (Apple Git-155)
next reply other threads:[~2026-03-20 16:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-20 16:43 Tim Orling [this message]
2026-03-20 16:43 ` [PATCH 1/1] vex: rename rootfs CVE manifest JSON to include .vex. suffix Tim Orling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1774024001.git.tim.orling@konsulko.com \
--to=ticotimo@gmail.com \
--cc=marta.rybczynska@syslinbit.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox