public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* cve-check: building world doesn't create the manifest
@ 2022-04-29  8:22 Davide Gardenal
  2022-04-29 15:39 ` [OE-core] " Ralph Siemsen
  0 siblings, 1 reply; 2+ messages in thread
From: Davide Gardenal @ 2022-04-29  8:22 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

Greetings,

In the current version of cve-check there is no way of creating the manifest when building world. The reason why is due to these two lines:
> 
> 
> ROOTFS_POSTPROCESS_COMMAND:prepend = "${@'cve_check_write_rootfs_manifest;
> ' if d.getVar('CVE_CHECK_CREATE_MANIFEST') == '1' else ''}"
> do_rootfs[recrdeptask] += "${@'do_cve_check' if
> d.getVar('CVE_CHECK_CREATE_MANIFEST') == '1' else ''}"

The problem is that in world there is no do_rootfs so the function cve_check_write_rootfs_manifest is never executed hence the manifest is not created.
My idea was to convert cve_check_write_rootfs_manifest to a handler listening for BuildCompleted but then if someone builds more than one image the output is broken.
Any suggestions are welcome and appreciated, thanks!

Davide

[-- Attachment #2: Type: text/html, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-29 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-29  8:22 cve-check: building world doesn't create the manifest Davide Gardenal
2022-04-29 15:39 ` [OE-core] " Ralph Siemsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox