From c4a10c0b4bc14f4bac06deed8ecb64d0303f4029 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 24 Oct 2016 18:37:02 +0300 Subject: 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 --- meta/recipes-kernel/lttng/lttng-tools_git.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-kernel') 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/ } -- cgit 1.2.3-korg