From: Benjamin Robin <benjamin.robin@bootlin.com>
To: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>,
"Ruoqin Zheng (Fujitsu)" <zhengrq.fnst@fujitsu.com>
Cc: Ross Burton <ross.burton@arm.com>
Subject: Re: [OE-core][question] sbom-cve-check: question about ${DEPLOY_DIR_IMAGE}
Date: Mon, 20 Apr 2026 09:38:48 +0200 [thread overview]
Message-ID: <nDCCJOaNSUiE7m-GDyIPpA@bootlin.com> (raw)
In-Reply-To: <TY7PR01MB14803D1141A848F97B5A907368B2F2@TY7PR01MB14803.jpnprd01.prod.outlook.com>
Hello,
On Monday, April 20, 2026 at 3:43 AM, Ruoqin Zheng (Fujitsu) wrote:
> Hi All
>
> I tryed to use sbom-cve-check-recipe and found that the sbom file will copy to ${DEPLOY_DIR_IMAGE}.
>
> It will cause a lot of sbom files in ${DEPLOY_DIR_IMAGE} dir and hard to find the rootfs/kernel which user want to find.
>
> ./deploy/images/qemux86-64/
> ......
> zlib-native-recipe-sbom.sbom-cve-check.spdx.json
> zlib-native-recipe-sbom.sbom-cve-check.yocto.json
> zlib-native-recipe-sbom.spdx.json
> zlib-recipe-sbom.sbom-cve-check.spdx.json
> zlib-recipe-sbom.sbom-cve-check.yocto.json
> zlib-recipe-sbom.spdx.json
> ......
>
> First, I want to ask the design goals of this output dir.
>
> Then I found it was defined in sbom-cve-check-recipe.bbclass and I tryed to change it to other dir in local.conf but it can't work.
> do_sbom_cve_check_recipe[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}"
>
> Does any one know the way to change it outside of sbom-cve-check-recipe.bbclass?
Currently as designed, without modifying the bbclass, it is not possible to
modify the output directory.
We could create a variable, which is by default set to "${DEPLOY_DIR_IMAGE}"
and use this new variable to configure sstate-outputdirs.
Or we could simply replace the line by:
do_sbom_cve_check_recipe[sstate-outputdirs] ?= "${DEPLOY_DIR_IMAGE}"
--
Benjamin Robin, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-04-20 7:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-20 1:43 [OE-core][question] sbom-cve-check: question about ${DEPLOY_DIR_IMAGE} Ruoqin Zheng (Fujitsu)
2026-04-20 7:38 ` Benjamin Robin [this message]
2026-04-20 15:25 ` Ross Burton
2026-04-21 7:31 ` Ruoqin Zheng (Fujitsu)
2026-04-21 10:20 ` Ross Burton
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=nDCCJOaNSUiE7m-GDyIPpA@bootlin.com \
--to=benjamin.robin@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@arm.com \
--cc=zhengrq.fnst@fujitsu.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.