]> code.ossystems Code Review - openembedded-core.git/commit
cve-check: Run it after do_fetch
authorKhem Raj <raj.khem@gmail.com>
Thu, 21 May 2020 15:18:47 +0000 (08:18 -0700)
committerSteve Sakoman <steve@sakoman.com>
Tue, 26 May 2020 16:40:31 +0000 (06:40 -1000)
commitdbf143d79476e54e8da93101fc16eaedeec88362
tree4583c677e218473ba3df95dae266ce293fbc7cad
parentc88cf750f26f6786d6ba5b4f1f7e5d4f0c800e6e
cve-check: Run it after do_fetch

Certain recipes e.g. bash readline ( from meta-gplv2 ) download patches instead of having them in
metadata, this could fail cve_check

ERROR: readline-5.2-r9 do_cve_check: File Not found: qemuarm/build/../downloads/readline52-001

This patch ensures that download is done before running CVE scan, even
though these will be external patches and may not contain CVE tags as it
expects, but it will fix the run failures as seen above

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e406fcb6c609a0d2456d7da0d2406d2d9fa52dd2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/cve-check.bbclass