From: Ross Burton Date: Thu, 7 Nov 2019 23:58:29 +0000 (+0000) Subject: cve-check: we don't actually need to unpack to check X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~12793 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cba6ada970deb5156e1ba0182f4f372851e3c17;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cve-check: we don't actually need to unpack to check The patch scanner works with patch files in the layer, not in the workdir, so it doesn't need to unpack. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 1c8b2223a20..3326944d791 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass @@ -62,7 +62,7 @@ python do_cve_check () { } -addtask cve_check after do_unpack before do_build +addtask cve_check before do_build do_cve_check[depends] = "cve-update-db-native:do_populate_cve_db" do_cve_check[nostamp] = "1" @@ -70,7 +70,6 @@ python cve_check_cleanup () { """ Delete the file used to gather all the CVE information. """ - bb.utils.remove(e.data.getVar("CVE_CHECK_TMP_FILE")) }