From: Ross Burton Date: Wed, 27 Apr 2022 13:22:28 +0000 (+0100) Subject: cve-check: no need to depend on the fetch task X-Git-Tag: 2020-04.17~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72e5204bc7272414cc7bcfba18f52a177242ed79;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git cve-check: no need to depend on the fetch task The only part of the cve-check task which needs files is the patch examination, and typically these patches are local so fetch isn't needed. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 2c9b3186d3b7c18cbea239ab9b06e85b7c243b54) Signed-off-by: Steve Sakoman (cherry picked from commit 3dc8edd6611e7ad4abcece44ca4701eda7aeff94) Signed-off-by: Steve Sakoman --- diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index a7156cbdfb8..41b4eb2dbfd 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass @@ -121,7 +121,7 @@ python do_cve_check () { } -addtask cve_check before do_build after do_fetch +addtask cve_check before do_build do_cve_check[depends] = "cve-update-db-native:do_fetch" do_cve_check[nostamp] = "1"