summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cve-check-tool
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-02-09 21:38:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 09:29:56 -0800
commitea616d122676e7d5bbf606b7dbfa8f62c63d4a27 (patch)
tree63bf9a328a2b488c26becc97884c77761a5ee608 /meta/recipes-devtools/cve-check-tool
parent0d637857f2a8387e38da2ed590a10daf595ed124 (diff)
downloadpoky-ea616d122676e7d5bbf606b7dbfa8f62c63d4a27.tar.gz
cve-check-tool: Fixes for recipe sysroots
* Use --enable-relative-plugins so cve-check-tool looks for loadable modules relative to binary location instead of hard-coding a wrong sysroot location * do_populate_cve_db() assumes that the binary cve-check-update is in the sysroot. Ensure that this is true by adding a task dependency (From OE-Core rev: 2da6b01893d0afe8750bd0b12a8d55aafa82f58c) 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/recipes-devtools/cve-check-tool')
-rw-r--r--meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb b/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb
index 6e35421ccb..c78af6728c 100644
--- a/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb
+++ b/meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb
@@ -22,7 +22,7 @@ RDEPENDS_${PN} = "ca-certificates"
22 22
23inherit pkgconfig autotools 23inherit pkgconfig autotools
24 24
25EXTRA_OECONF = "--disable-coverage" 25EXTRA_OECONF = "--disable-coverage --enable-relative-plugins"
26CFLAGS_append = " -Wno-error=pedantic" 26CFLAGS_append = " -Wno-error=pedantic"
27 27
28do_populate_cve_db() { 28do_populate_cve_db() {
@@ -50,6 +50,7 @@ do_populate_cve_db() {
50} 50}
51 51
52addtask populate_cve_db after do_populate_sysroot 52addtask populate_cve_db after do_populate_sysroot
53do_populate_cve_db[depends] = "cve-check-tool-native:do_populate_sysroot"
53do_populate_cve_db[nostamp] = "1" 54do_populate_cve_db[nostamp] = "1"
54do_populate_cve_db[progress] = "percent" 55do_populate_cve_db[progress] = "percent"
55 56