]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jan 2023 16:42:24 +0000 (16:42 +0000)
commit00fb2aae22ce0d7ff5f3f8766fa770eeb4e73483
treed0e9bcbdaa1a5664a8d9e5ae015ae12793e1cbc7
parent49d328f2c696360759f00507b8fd5089b2f03e7c
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>
meta/classes/cve-check.bbclass