aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-01-17 02:26:36 -0500
committerKhem Raj <raj.khem@gmail.com>2019-01-19 10:06:20 -0800
commit8243374c0e43158ed8bc58c5b73539b1207cecf6 (patch)
treed0b9ec43647a8c6145b774d45f4bf3b6fe551fc0 /meta-oe/recipes-dbs
parentce38f8c0f3dcb2417c025c067bd7669f9b5ea29f (diff)
downloadmeta-openembedded-8243374c0e43158ed8bc58c5b73539b1207cecf6.tar.gz
meta-openembedded-8243374c0e43158ed8bc58c5b73539b1207cecf6.tar.bz2
meta-openembedded-8243374c0e43158ed8bc58c5b73539b1207cecf6.zip
rocksdb: fix qa warning of buildpaths
rocksdb fails qa check buildpaths: | WARNING: rocksdb-5.17.2-r0 do_package_qa: QA Issue: File | /work/core2-64-poky-linux/rocksdb/5.17.2-r0/packages-split/rocksdb-dev/usr/lib64/cmake/rocksdb/RocksDBTargets.cmake | in package contained reference to tmpdir [buildpaths] Removing buildpath info from the cmake file. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs')
-rw-r--r--meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
index 67822477e..c926d4472 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
@@ -29,3 +29,8 @@ EXTRA_OECMAKE = "\
-DWITH_TESTS=OFF \
-DWITH_TOOLS=OFF \
"
+
+do_install_append() {
+ # fix for qa check buildpaths
+ sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/rocksdb/RocksDBTargets.cmake
+}