diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-02-09 21:38:31 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 09:29:56 -0800 |
commit | 0d637857f2a8387e38da2ed590a10daf595ed124 (patch) | |
tree | 78ef996eee44eaa61baacca9deb0c7246d4dfbb4 /meta/classes/cve-check.bbclass | |
parent | b1f99066bd8ff787c126ed26ab71fa67b30f15d5 (diff) | |
download | poky-0d637857f2a8387e38da2ed590a10daf595ed124.tar.gz |
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.
(From OE-Core rev: bd60b1018bc0304bc928701e6d1090c8b1223616)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cve-check.bbclass')
-rw-r--r-- | meta/classes/cve-check.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
62 | } | 62 | } |
63 | 63 | ||
64 | addtask cve_check after do_unpack before do_build | 64 | addtask cve_check after do_unpack before do_build |
65 | do_cve_check[depends] = "cve-check-tool-native:do_populate_cve_db" | 65 | do_cve_check[depends] = "cve-check-tool-native:do_populate_sysroot cve-check-tool-native:do_populate_cve_db" |
66 | do_cve_check[nostamp] = "1" | 66 | do_cve_check[nostamp] = "1" |
67 | 67 | ||
68 | python cve_check_cleanup () { | 68 | python cve_check_cleanup () { |