diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-02-09 21:38:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 09:29:42 -0800 |
commit | 2da6b01893d0afe8750bd0b12a8d55aafa82f58c (patch) | |
tree | 864c81030354095d04c49c070de93b51e420b84f /meta/recipes-devtools | |
parent | bd60b1018bc0304bc928701e6d1090c8b1223616 (diff) | |
download | openembedded-core-2da6b01893d0afe8750bd0b12a8d55aafa82f58c.tar.gz openembedded-core-2da6b01893d0afe8750bd0b12a8d55aafa82f58c.tar.bz2 openembedded-core-2da6b01893d0afe8750bd0b12a8d55aafa82f58c.zip |
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
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb | 3 |
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" 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" |