]> code.ossystems Code Review - openembedded-core.git/commitdiff
cve-check: remove deprecated CVE_CHECK_CVE_WHITELIST
authorMichael Opdenacker <michael.opdenacker@bootlin.com>
Fri, 6 Aug 2021 10:53:27 +0000 (12:53 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Aug 2021 05:26:10 +0000 (06:26 +0100)
This variable has been deprecated since Yocto Project version 3.0.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cve-check.bbclass

index 6582f97151389639cbbc483b524cc16a6bf3c24f..04d19f53fde0793138c1b2141dff77a31413427b 100644 (file)
@@ -238,9 +238,6 @@ def check_cves(d, patched_cves):
         bb.note("Recipe has been whitelisted, skipping check")
         return ([], [], [])
 
-    old_cve_whitelist =  d.getVar("CVE_CHECK_CVE_WHITELIST")
-    if old_cve_whitelist:
-        bb.warn("CVE_CHECK_CVE_WHITELIST is deprecated, please use CVE_CHECK_WHITELIST.")
     cve_whitelist = d.getVar("CVE_CHECK_WHITELIST").split()
 
     import sqlite3