]> code.ossystems Code Review - openembedded-core.git/commitdiff
cve-check-tool: Fixes for recipe sysroots
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Thu, 9 Feb 2017 19:38:32 +0000 (21:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Feb 2017 17:29:42 +0000 (09:29 -0800)
* 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

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb

index 6e35421ccb2c38685d4a0fcf6235b99833d9bf79..c78af6728cf0bb702403f0b27aa95c5f71f42a21 100644 (file)
@@ -22,7 +22,7 @@ RDEPENDS_${PN} = "ca-certificates"
 
 inherit pkgconfig autotools
 
-EXTRA_OECONF = "--disable-coverage"
+EXTRA_OECONF = "--disable-coverage --enable-relative-plugins"
 CFLAGS_append = " -Wno-error=pedantic"
 
 do_populate_cve_db() {
@@ -50,6 +50,7 @@ do_populate_cve_db() {
 }
 
 addtask populate_cve_db after do_populate_sysroot
+do_populate_cve_db[depends] = "cve-check-tool-native:do_populate_sysroot"
 do_populate_cve_db[nostamp] = "1"
 do_populate_cve_db[progress] = "percent"