From 66b0097533ebf8ddac25f75af1f87b02ecaec37f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 27 Apr 2022 14:22:28 +0100 Subject: [PATCH] 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. (From OE-Core rev: 72e5204bc7272414cc7bcfba18f52a177242ed79) 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 Signed-off-by: Richard Purdie --- meta/classes/cve-check.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index a7156cbdfb..41b4eb2dbf 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"