]> code.ossystems Code Review - openembedded-core.git/commitdiff
lttng-tools: do not install shared libraries in ptest package
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Mon, 24 Oct 2016 15:37:02 +0000 (18:37 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Nov 2016 23:35:17 +0000 (23:35 +0000)
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>
meta/recipes-kernel/lttng/lttng-tools_git.bb

index 016346fc87c4e92c250032a1bf24d6056a5c5528..0d2bd005e4b7803337e35d3705a04628efa07dc1 100644 (file)
@@ -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/
 }