diff options
| -rw-r--r-- | meta/classes/cve-check.bbclass | 3 | ||||
| -rw-r--r-- | meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index d8087dd7c6..537659df12 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass | |||
| @@ -184,9 +184,6 @@ def check_cves(d, patched_cves): | |||
| 184 | bb.note("Recipe has been whitelisted, skipping check") | 184 | bb.note("Recipe has been whitelisted, skipping check") |
| 185 | return ([], []) | 185 | return ([], []) |
| 186 | 186 | ||
| 187 | # It is needed to export the proxies to download the database using HTTP | ||
| 188 | bb.utils.export_proxies(d) | ||
| 189 | |||
| 190 | try: | 187 | try: |
| 191 | # Write the faux CSV file to be used with cve-check-tool | 188 | # Write the faux CSV file to be used with cve-check-tool |
| 192 | fd, faux = tempfile.mkstemp(prefix="cve-faux-") | 189 | fd, faux = tempfile.mkstemp(prefix="cve-faux-") |
diff --git a/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb b/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb index 7b70daa323..1c84fb1cf2 100644 --- a/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb +++ b/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb | |||
| @@ -41,6 +41,7 @@ do_populate_cve_db() { | |||
| 41 | [ -z "${cve_dir}" ] && cve_dir="${DL_DIR}/CVE_CHECK" | 41 | [ -z "${cve_dir}" ] && cve_dir="${DL_DIR}/CVE_CHECK" |
| 42 | [ -z "${cve_file}" ] && cve_file="${TMPDIR}/cve_check" | 42 | [ -z "${cve_file}" ] && cve_file="${TMPDIR}/cve_check" |
| 43 | 43 | ||
| 44 | unused="${@bb.utils.export_proxies(d)}" | ||
| 44 | bbdebug 2 "Updating cve-check-tool database located in $cve_dir" | 45 | bbdebug 2 "Updating cve-check-tool database located in $cve_dir" |
| 45 | # --cacert works around curl-native not finding the CA bundle | 46 | # --cacert works around curl-native not finding the CA bundle |
| 46 | if cve-check-update --cacert ${sysconfdir}/ssl/certs/ca-certificates.crt -d "$cve_dir" ; then | 47 | if cve-check-update --cacert ${sysconfdir}/ssl/certs/ca-certificates.crt -d "$cve_dir" ; then |
