From: Jussi Kukkonen Date: Thu, 9 Feb 2017 19:38:31 +0000 (+0200) Subject: cve-check.bbclass: Fix dependencies X-Git-Tag: uninative-1.5~365 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bd60b1018bc0304bc928701e6d1090c8b1223616;p=openembedded-core.git cve-check.bbclass: Fix dependencies With recipe-specific sysroots the cve_check task must depend on cve-check-tool-native:do_populate_sysroot to get the cve-check-tool binary into the recipe sysroot. A normal DEPENDS isn't used to avoid cyclic dependencies. Signed-off-by: Jussi Kukkonen Signed-off-by: Ross Burton --- diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index aad0573ee9..0e4294fdc4 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 -do_cve_check[depends] = "cve-check-tool-native:do_populate_cve_db" +do_cve_check[depends] = "cve-check-tool-native:do_populate_sysroot cve-check-tool-native:do_populate_cve_db" do_cve_check[nostamp] = "1" python cve_check_cleanup () {