]> 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>
Fri, 20 Jan 2023 18:03:12 +0000 (08:03 -1000)
commitc25a5c5f6fede29893a2ac1502216e9deccfa6c3
tree1748ab738c6df5869a9c7dddc949143e6999d3f5
parent48c0e427675f4c99c395cc0a75743ac70eb64802
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