mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
lttng-ust: move to Python 3
(From OE-Core rev: f49beaf99171e081a0e5df50d38a1122045ca029) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8fdb4be2c8
commit
eb80ec9012
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c963eb366b781252b0bf0fdf1624d9e9 \
|
|||||||
inherit autotools lib_package
|
inherit autotools lib_package
|
||||||
|
|
||||||
DEPENDS = "liburcu util-linux"
|
DEPENDS = "liburcu util-linux"
|
||||||
RDEPENDS_${PN}-bin = "python-core"
|
RDEPENDS_${PN}-bin = "python3-core"
|
||||||
|
|
||||||
# For backwards compatibility after rename
|
# For backwards compatibility after rename
|
||||||
RPROVIDES_${PN} = "lttng2-ust"
|
RPROVIDES_${PN} = "lttng2-ust"
|
||||||
@@ -27,6 +27,13 @@ SRC_URI = "git://git.lttng.org/lttng-ust.git;branch=stable-2.7 \
|
|||||||
file://lttng-ust-add-support-for-aarch64_be.patch \
|
file://lttng-ust-add-support-for-aarch64_be.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
# Patch python tools to use Python 3; they should be source compatible, but
|
||||||
|
# still refer to Python 2 in the shebang
|
||||||
|
sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/lttng-gen-tp
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure_prepend () {
|
||||||
|
|||||||
Reference in New Issue
Block a user