diff options
author | Yann Dirson <yann@blade-group.com> | 2020-11-12 18:26:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-13 14:32:00 +0000 |
commit | 9c06fbbbee2183e9e1285496d00282dde59eb538 (patch) | |
tree | 42dbb49c9d179057e266baf78bd28310a49b39a7 /meta | |
parent | c606515ab5abbd694680c4977784ffe5a2e7ce6a (diff) | |
download | poky-9c06fbbbee2183e9e1285496d00282dde59eb538.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/systemtap/systemtap_git.bb | 9 |
2 files changed, 10 insertions, 1 deletions
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" | |||
384 | KERNEL_EXTRA_FEATURES_append = " features/systemtap/systemtap.scc" | 384 | KERNEL_EXTRA_FEATURES_append = " features/systemtap/systemtap.scc" |
385 | 385 | ||
386 | # add systemtap run-time into target image if it is not there yet | 386 | # add systemtap run-time into target image if it is not there yet |
387 | IMAGE_INSTALL_append = " systemtap" | 387 | IMAGE_INSTALL_append = " systemtap-runtime" |
388 | """ | 388 | """ |
389 | 389 | ||
390 | def test_crosstap_helloworld(self): | 390 | 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/* \ | |||
36 | RDEPENDS_${PN}-exporter = "${PN} python3-core python3-netclient" | 36 | RDEPENDS_${PN}-exporter = "${PN} python3-core python3-netclient" |
37 | SYSTEMD_SERVICE_${PN}-exporter = "stap-exporter.service" | 37 | SYSTEMD_SERVICE_${PN}-exporter = "stap-exporter.service" |
38 | 38 | ||
39 | PACKAGES =+ "${PN}-runtime" | ||
40 | FILES_${PN}-runtime = "\ | ||
41 | ${bindir}/staprun \ | ||
42 | ${bindir}/stap-merge \ | ||
43 | ${bindir}/stapsh \ | ||
44 | ${libexecdir}/${BPN}/stapio \ | ||
45 | " | ||
46 | RDEPENDS_${PN}_class-target += "${PN}-runtime" | ||
47 | |||
39 | PACKAGES =+ "${PN}-examples" | 48 | PACKAGES =+ "${PN}-examples" |
40 | FILES_${PN}-examples = "${datadir}/${BPN}/examples/" | 49 | FILES_${PN}-examples = "${datadir}/${BPN}/examples/" |
41 | RDEPENDS_${PN}-examples += "${PN}" | 50 | RDEPENDS_${PN}-examples += "${PN}" |