summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-10-24 18:37:02 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-06 23:35:17 +0000
commitc4a10c0b4bc14f4bac06deed8ecb64d0303f4029 (patch)
tree2790b5d36857b6973ff6d506a276245d0571cc2d
parent0c1e8e0939b39dcf6ea753b41da5ec9bc6ebb82a (diff)
downloadopenembedded-core-contrib-c4a10c0b4bc14f4bac06deed8ecb64d0303f4029.tar.gz
openembedded-core-contrib-c4a10c0b4bc14f4bac06deed8ecb64d0303f4029.tar.bz2
openembedded-core-contrib-c4a10c0b4bc14f4bac06deed8ecb64d0303f4029.zip
lttng-tools: do not install shared libraries in ptest package
This was creating a race in runtime library dependency resolution where sometimes the library was assumed to be provided by the ptest package. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools_git.bb b/meta/recipes-kernel/lttng/lttng-tools_git.bb
index 016346fc87..0d2bd005e4 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_git.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_git.bb
@@ -113,4 +113,7 @@ do_install_ptest () {
# checkpatch.pl is unneeded on target and causes file-rdeps QA
# warnings.
rm -f ${D}${PTEST_PATH}/extras/checkpatch.pl
+
+ # Remove built libraries as they confuse the packages' runtime dependency resolution
+ rm -rf ${D}${PTEST_PATH}/src/lib/lttng-ctl/.libs/
}