]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cve-check: write the cve manifest to IMGDEPLOYDIR
authorJermain Horsman <jermain.horsman@nedap.com>
Mon, 16 Jan 2023 11:46:37 +0000 (12:46 +0100)
committerSteve Sakoman <steve@sakoman.com>
Thu, 19 Jan 2023 14:17:25 +0000 (04:17 -1000)
commit7d4179576c32c3464cb1a612840fd6aa37f7ff1f
treeda142e8fb8bb62e4adea800e5fdae9e224ded104
parent60e06c9666a2b254c50b2f51932d395f88dd550c
cve-check: write the cve manifest to IMGDEPLOYDIR

When building an image cve_check_write_rootfs_manifest() would sometimes fail
with a FileNotFoundError when writing the manifest.cve due to the parent
directory (DEPLOY_DIR_IMAGE) not (yet) existing.

The image task will provide the manifest in the deploy directory afterwards,
so other recipes depending on the manifest being in DEPLOY_DIR_IMAGE should
continue to function properly.

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00fb2aae22ce0d7ff5f3f8766fa770eeb4e73483)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/cve-check.bbclass