From: Alexander Kanavin Date: Mon, 24 Oct 2016 15:37:02 +0000 (+0300) Subject: lttng-tools: do not install shared libraries in ptest package X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17a550b9dec7f11f9e60a9d06d0fcf1d984f52d7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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) (From OE-Core rev: 10e32463236df05458af7fb7d1ef388f380ab10c) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/lttng/lttng-tools_git.bb b/meta/recipes-kernel/lttng/lttng-tools_git.bb index bfc657b3ac0..b00ce8d2e5c 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/ }