[OE-core] [PATCH 1/3] cve-check-tool: Add recipe

Burton, Ross ross.burton at intel.com
Thu Feb 25 00:44:34 UTC 2016


On 24 February 2016 at 15:27, <mariano.lopez at linux.intel.com> wrote:

> +python () {
> +    # If the cve-check class is inherited it is needed to populate the
> +    # CVE database before checking the CVEs for all recipes.
> +    pn = d.getVar("PN", True)
> +    if pn.endswith("-native") and bb.data.inherits_class('cve-check', d):
> +        bb.build.addtask("do_populate_cve_db", "do_build",
> "do_populate_sysroot", d)
> +}
>

Wouldn't this be better done as an explicit dependency of the class task?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160225/34798134/attachment-0002.html>


More information about the Openembedded-core mailing list