summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Kamensky <kamensky@cisco.com>2018-10-25 19:59:55 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-28 08:31:57 +0000
commit3e5c6cbf3475b513458a0bfc57dcd3353dd9e44d (patch)
treed2303e9202007e6b36b5f6af57dc13ce58703ec1
parente2958cd76d6d71a9e5c3671ed10d19565c7ba0aa (diff)
downloadpoky-3e5c6cbf3475b513458a0bfc57dcd3353dd9e44d.tar.gz
systemtap: move systemtap-exporter into separate package
stap-exporter runs a set of systemtap scripts and relays their procfs outputs to remote HTTP clients on demand. systemtap-exporter is not supposed to run in untrusted environment. It starts HTTP server on some port. It does not look safe enough to be included by default along with the rest of systemtap. Move systemtap-exporter, its systemd unit, configuration files and examples scripts into separate package. So if one needs it and understand its implication, he/she can include it explicitely. (From OE-Core rev: 03e01c26a297642dbe4b0e1c7cf2cbe3c225140e) Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.bb11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index 904ecdd106..6ee3e1c0f7 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -27,7 +27,16 @@ PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes,
27 27
28inherit autotools gettext pkgconfig distutils3-base systemd 28inherit autotools gettext pkgconfig distutils3-base systemd
29 29
30SYSTEMD_SERVICE_${PN} = "stap-exporter.service" 30PACKAGES =+ "${PN}-exporter"
31
32FILES_${PN}-exporter = "${sysconfdir}/stap-exporter/* \
33 ${sysconfdir}/sysconfig/stap-exporter \
34 ${systemd_unitdir}/system/stap-exporter.service \
35 ${sbindir}/stap-exporter"
36
37RDEPENDS_${PN}-exporter = "${PN} python3-core python3-netclient"
38
39SYSTEMD_SERVICE_${PN}-exporter = "stap-exporter.service"
31 40
32do_configure_prepend () { 41do_configure_prepend () {
33 # Improve reproducibility for c++ object files 42 # Improve reproducibility for c++ object files