From: "Yann Dirson" <yann.dirson@blade-group.com>
To: openembedded-core@lists.openembedded.org
Cc: Yann Dirson <yann@blade-group.com>
Subject: [PATCH v2 5/5] systemtap: split runtime material in its own package
Date: Thu, 12 Nov 2020 18:26:16 +0100 [thread overview]
Message-ID: <20201112172616.784945-6-yann@blade-group.com> (raw)
In-Reply-To: <20201112172616.784945-1-yann@blade-group.com>
From: Yann Dirson <yann@blade-group.com>
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 ?
---
meta/lib/oeqa/selftest/cases/runtime_test.py | 2 +-
meta/recipes-kernel/systemtap/systemtap_git.bb | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 1bb1c4bee4..7189e4e6c5 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -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):
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index 74bf7cb35c..8dad5b15f0 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -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}"
--
2.28.0
next prev parent reply other threads:[~2020-11-12 17:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-12 17:26 [PATCH v2 0/5] systemtap improvements Yann Dirson
2020-11-12 17:26 ` [PATCH v2 1/5] systemtap: split examples and python scripts out of main package Yann Dirson
2020-11-12 17:26 ` [PATCH v2 2/5] systemtap: remove extra dependencies Yann Dirson
2020-11-12 17:26 ` [PATCH v2 3/5] systemtap: clarify the relation between exporter and python3-probes feature Yann Dirson
2020-11-12 17:26 ` [PATCH v2 4/5] systemtap: fix install when python3-probes is disabled in PACKAGECONFIG Yann Dirson
2020-11-12 17:26 ` Yann Dirson [this message]
[not found] ` <CAHSqoWsCZbE03tuDsfEnwxSCGddUuti_GAAF_ga6e-ozKXK3Ew@mail.gmail.com>
[not found] ` <CA+4=imb5WUKYxKg1qwy-k0dUGApzCYwEskddGhVfyovGnSePew@mail.gmail.com>
[not found] ` <CA+4=imZPuimbfuxLGnjYyy=sWoX3qWbavMk3+vnEqbJXizQWXQ@mail.gmail.com>
2020-11-17 4:34 ` [OE-core] [PATCH v2 0/5] systemtap improvements victor.kamensky7
2020-11-17 9:24 ` Richard Purdie
2020-12-02 11:16 ` Yann Dirson
2020-11-17 9:50 ` Yann Dirson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201112172616.784945-6-yann@blade-group.com \
--to=yann.dirson@blade-group.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=yann@blade-group.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox