On 24 February 2016 at 15:27, <mariano.lo...@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
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core