systemtap: split runtime material in its own package

Note the _class-target qualifier, here to prevent a funky dependency of
systemtap-native on systemtap-native-runtime-native.  This possibly hints
to something deeper ?

(From OE-Core rev: 440dc8bacf6e6307ae8617194b75504702011b16)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yann Dirson
2020-11-12 18:26:16 +01:00
committed by Richard Purdie
parent c606515ab5
commit 9c06fbbbee
2 changed files with 10 additions and 1 deletions

View File

@@ -384,7 +384,7 @@ KERNEL_EXTRA_FEATURES_append = " features/debug/debug-kernel.scc"
KERNEL_EXTRA_FEATURES_append = " features/systemtap/systemtap.scc"
# add systemtap run-time into target image if it is not there yet
IMAGE_INSTALL_append = " systemtap"
IMAGE_INSTALL_append = " systemtap-runtime"
"""
def test_crosstap_helloworld(self):

View File

@@ -36,6 +36,15 @@ FILES_${PN}-exporter = "${sysconfdir}/stap-exporter/* \
RDEPENDS_${PN}-exporter = "${PN} python3-core python3-netclient"
SYSTEMD_SERVICE_${PN}-exporter = "stap-exporter.service"
PACKAGES =+ "${PN}-runtime"
FILES_${PN}-runtime = "\
${bindir}/staprun \
${bindir}/stap-merge \
${bindir}/stapsh \
${libexecdir}/${BPN}/stapio \
"
RDEPENDS_${PN}_class-target += "${PN}-runtime"
PACKAGES =+ "${PN}-examples"
FILES_${PN}-examples = "${datadir}/${BPN}/examples/"
RDEPENDS_${PN}-examples += "${PN}"