diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cve-check.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index a3fc9c2623..acdf005a72 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass | |||
@@ -20,7 +20,7 @@ | |||
20 | # the only method to check against CVEs. Running this tool | 20 | # the only method to check against CVEs. Running this tool |
21 | # doesn't guarantee your packages are free of CVEs. | 21 | # doesn't guarantee your packages are free of CVEs. |
22 | 22 | ||
23 | # The product name that the CVE database uses. Defaults to BPN, but may need to | 23 | # The product name that the CVE database uses defaults to BPN, but may need to |
24 | # be overriden per recipe (for example tiff.bb sets CVE_PRODUCT=libtiff). | 24 | # be overriden per recipe (for example tiff.bb sets CVE_PRODUCT=libtiff). |
25 | CVE_PRODUCT ??= "${BPN}" | 25 | CVE_PRODUCT ??= "${BPN}" |
26 | CVE_VERSION ??= "${PV}" | 26 | CVE_VERSION ??= "${PV}" |
@@ -56,11 +56,11 @@ CVE_CHECK_WHITELIST ?= "" | |||
56 | # Layers to be excluded | 56 | # Layers to be excluded |
57 | CVE_CHECK_LAYER_EXCLUDELIST ??= "" | 57 | CVE_CHECK_LAYER_EXCLUDELIST ??= "" |
58 | 58 | ||
59 | # Layers to be included | 59 | # Layers to be included |
60 | CVE_CHECK_LAYER_INCLUDELIST ??= "" | 60 | CVE_CHECK_LAYER_INCLUDELIST ??= "" |
61 | 61 | ||
62 | 62 | ||
63 | # set to "alphabetical" for version using single alphabetical character as increament release | 63 | # set to "alphabetical" for version using single alphabetical character as increment release |
64 | CVE_VERSION_SUFFIX ??= "" | 64 | CVE_VERSION_SUFFIX ??= "" |
65 | 65 | ||
66 | python cve_save_summary_handler () { | 66 | python cve_save_summary_handler () { |
@@ -230,7 +230,7 @@ def check_cves(d, patched_cves): | |||
230 | return ([], [], []) | 230 | return ([], [], []) |
231 | pv = d.getVar("CVE_VERSION").split("+git")[0] | 231 | pv = d.getVar("CVE_VERSION").split("+git")[0] |
232 | 232 | ||
233 | # If the recipe has been whitlisted we return empty lists | 233 | # If the recipe has been whitelisted we return empty lists |
234 | if pn in d.getVar("CVE_CHECK_PN_WHITELIST").split(): | 234 | if pn in d.getVar("CVE_CHECK_PN_WHITELIST").split(): |
235 | bb.note("Recipe has been whitelisted, skipping check") | 235 | bb.note("Recipe has been whitelisted, skipping check") |
236 | return ([], [], []) | 236 | return ([], [], []) |