]> code.ossystems Code Review - openembedded-core.git/commit
cve-check: CVE_VERSION_SUFFIX to work with patched release
authorLee Chee Yang <chee.yang.lee@intel.com>
Thu, 4 Mar 2021 14:44:07 +0000 (22:44 +0800)
committerSteve Sakoman <steve@sakoman.com>
Wed, 24 Mar 2021 14:30:32 +0000 (04:30 -1000)
commitd75f95a09e5e85eb759e748f9e0fee1c5fa1b318
treefc87063f152fd5c053ca066367c6baa1f31d333c
parentb8d3e1754faea3ba0b6e07d5a830fbab12b5f53d
cve-check: CVE_VERSION_SUFFIX to work with patched release

CVE_VERSION_SUFFIX in "patch" to treat version string with suffix "pX"
or "patchX" as patched release.

also update testcases to cover this changes and set CVE_VERSION_SUFFIX
for sudo.

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8076815fc2ffc8f632e73527ce2b7d158a29e9ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oe/cve_check.py
meta/lib/oeqa/selftest/cases/cve_check.py
meta/recipes-extended/sudo/sudo.inc