]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
classes/cve-check: Move get_patches_cves to library
authorJoshua Watt <JPEWhacker@gmail.com>
Fri, 8 Jul 2022 11:47:36 +0000 (13:47 +0200)
committerSteve Sakoman <steve@sakoman.com>
Wed, 13 Jul 2022 15:25:10 +0000 (05:25 -1000)
commitbba069463ca3813666d084643b0239b9af0199e1
tree5f3864b1e49d2d79a220f4d3da33f07f9b3aeeef
parent3230e5f734f69acfe05219da104e8818445c9eff
classes/cve-check: Move get_patches_cves to library

Moving the function will allow other classes to capture which CVEs have
been patched, in particular SBoM generation.

Also add a function to capture the CPE ID from the CVE Product and
Version

(From OE-Core rev: 75d34259a715120be1d023e4fd7b6b4b125f2443)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fa6c07bc1a585f204dbdc28704f61448edb8fdc8)
Signed-off-by: Akash Hadke <akash.hadke@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/cve-check.bbclass
meta/lib/oe/cve_check.py