summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb')
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb b/meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb
index 0787e04d19..1f509caeb4 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb
@@ -35,6 +35,7 @@ SRC_URI = "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \
35 file://run-ptest \ 35 file://run-ptest \
36 file://lttng-sessiond.service \ 36 file://lttng-sessiond.service \
37 file://0001-tests-regression-disable-the-tools-live-tests.patch \ 37 file://0001-tests-regression-disable-the-tools-live-tests.patch \
38 file://determinism.patch \
38 " 39 "
39 40
40SRC_URI[sha256sum] = "9ed9161795ff023b076f9f95afaa4f1f822ec42495c0fa04c586ab8fa74e84f1" 41SRC_URI[sha256sum] = "9ed9161795ff023b076f9f95afaa4f1f822ec42495c0fa04c586ab8fa74e84f1"
@@ -113,6 +114,8 @@ do_install_ptest () {
113 done 114 done
114 115
115 chrpath --delete ${D}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary 116 chrpath --delete ${D}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary
117 chrpath --delete ${D}${PTEST_PATH}/tests/regression/ust/ust-dl/libbar.so
118 chrpath --delete ${D}${PTEST_PATH}/tests/regression/ust/ust-dl/libfoo.so
116 119
117 # 120 #
118 # Use the versioned libs of liblttng-ust-dl. 121 # Use the versioned libs of liblttng-ust-dl.
@@ -150,6 +153,10 @@ do_install_ptest () {
150 -e 's#\(^test.*LDADD.=\)#disable\1#g' \ 153 -e 's#\(^test.*LDADD.=\)#disable\1#g' \
151 -i ${D}${PTEST_PATH}/tests/unit/Makefile 154 -i ${D}${PTEST_PATH}/tests/unit/Makefile
152 155
156 # Fix hardcoded build path
157 sed -e 's#TESTAPP_PATH=.*/tests/regression/#TESTAPP_PATH=${PTEST_PATH}/tests/regression/#' \
158 -i ${D}${PTEST_PATH}/tests/regression/ust/python-logging/test_python_logging
159
153 # Substitute links to installed binaries. 160 # Substitute links to installed binaries.
154 for prog in lttng lttng-relayd lttng-sessiond lttng-consumerd lttng-crash; do 161 for prog in lttng lttng-relayd lttng-sessiond lttng-consumerd lttng-crash; do
155 exedir="${D}${PTEST_PATH}/src/bin/${prog}" 162 exedir="${D}${PTEST_PATH}/src/bin/${prog}"