[oe-commits] [openembedded-core] 20/22: lttng-tools: do not install shared libraries in ptest package

git at git.openembedded.org git at git.openembedded.org
Mon Oct 31 14:24:14 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit dece2c105efb51b0712bd5dd398725cb438a67b7
Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
AuthorDate: Mon Oct 24 18:37:02 2016 +0300

    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 at linux.intel.com>
---
 meta/recipes-kernel/lttng/lttng-tools_git.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-kernel/lttng/lttng-tools_git.bb b/meta/recipes-kernel/lttng/lttng-tools_git.bb
index 8439a7f..0f48ba7 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_git.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_git.bb
@@ -116,4 +116,7 @@ do_install_ptest () {
 
         # Remove manpages if they are built
         rm -f ${D}${PTEST_PATH}/doc/man/*.[0-9]
+
+        # Remove built libraries as they confuse the packages' runtime dependency resolution
+        rm -rf ${D}${PTEST_PATH}/src/lib/lttng-ctl/.libs/  
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list