diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-ust_git.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-ust_git.bb b/meta/recipes-kernel/lttng/lttng-ust_git.bb index 15d925d29e..f5a12b10b0 100644 --- a/meta/recipes-kernel/lttng/lttng-ust_git.bb +++ b/meta/recipes-kernel/lttng/lttng-ust_git.bb | |||
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c963eb366b781252b0bf0fdf1624d9e9 \ | |||
11 | inherit autotools lib_package | 11 | inherit autotools lib_package |
12 | 12 | ||
13 | DEPENDS = "liburcu util-linux" | 13 | DEPENDS = "liburcu util-linux" |
14 | RDEPENDS_${PN}-bin = "python-core" | 14 | RDEPENDS_${PN}-bin = "python3-core" |
15 | 15 | ||
16 | # For backwards compatibility after rename | 16 | # For backwards compatibility after rename |
17 | RPROVIDES_${PN} = "lttng2-ust" | 17 | RPROVIDES_${PN} = "lttng2-ust" |
@@ -27,6 +27,13 @@ SRC_URI = "git://git.lttng.org/lttng-ust.git;branch=stable-2.7 \ | |||
27 | file://lttng-ust-add-support-for-aarch64_be.patch \ | 27 | file://lttng-ust-add-support-for-aarch64_be.patch \ |
28 | " | 28 | " |
29 | 29 | ||
30 | do_install_append() { | ||
31 | # Patch python tools to use Python 3; they should be source compatible, but | ||
32 | # still refer to Python 2 in the shebang | ||
33 | sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/lttng-gen-tp | ||
34 | } | ||
35 | |||
36 | |||
30 | S = "${WORKDIR}/git" | 37 | S = "${WORKDIR}/git" |
31 | 38 | ||
32 | do_configure_prepend () { | 39 | do_configure_prepend () { |