]> code.ossystems Code Review - openembedded-core.git/commitdiff
cve-check.bbclass: Fix dependencies
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Thu, 9 Feb 2017 19:38:31 +0000 (21:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Feb 2017 17:29:42 +0000 (09:29 -0800)
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 <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/cve-check.bbclass

index aad0573ee9589720f7f20cd0c03a835e456eb65c..0e4294fdc4d0c7ddd0ddb3b7c93a146856824645 100644 (file)
@@ -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 () {