[oe-commits] [meta-openembedded] 02/11: rocksdb: fix qa warning of buildpaths

git at git.openembedded.org git at git.openembedded.org
Sat Jan 19 16:35:35 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit ee04bb332434c894df2590a5680607a5ab615b05
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Thu Jan 17 02:26:36 2019 -0500

    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 at windriver.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
index 6782247..c926d44 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
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list