]> code.ossystems Code Review - openembedded-core.git/commit
cve-check.bbclass: make warning contain CVE IDs
authorChen Qi <Qi.Chen@windriver.com>
Tue, 9 May 2017 09:31:36 +0000 (17:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Jun 2017 22:28:04 +0000 (23:28 +0100)
commite0e1414a4574d4165a8dc5d0d9d0d5b5a660355f
tree08d60d14948b36d1a194549f85fdf3633d9ace1b
parente0f0a7283c597e783b69aac2c8e8a7663b70262d
cve-check.bbclass: make warning contain CVE IDs

When warning users about unpatched CVE, we'd better put CVE IDs into
the warning message, so that it would be more straight forward for the
user to know which CVEs are not patched.

So instead of:
  WARNING: gnutls-3.5.9-r0 do_cve_check: Found unpatched CVE, for more information check /path/to/workdir/cve/cve.log.
We should have:
  WARNING: gnutls-3.5.9-r0 do_cve_check: Found unpatched CVE (CVE-2017-7869), for more information check /path/to/workdir/cve/cve.log.

(From OE-Core rev: ad46069e7b58f2fba373131716f28407816fa1a6)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cve-check.bbclass