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.

(From OE-Core rev: c4a10c0b4bc14f4bac06deed8ecb64d0303f4029)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin 2016-10-24 18:37:02 +03:00 committed by Richard Purdie
parent 5a4b71effa
commit 9bb4d21aa7
1 changed files with 3 additions and 0 deletions

View 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/
}