From: Yann Dirson <y...@blade-group.com> --- meta/recipes-kernel/systemtap/systemtap_git.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index 1c9f2aed16..e98aff1851 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.bb +++ b/meta/recipes-kernel/systemtap/systemtap_git.bb @@ -38,6 +38,23 @@ RDEPENDS_${PN}-exporter = "${PN} python3-core python3-netclient" SYSTEMD_SERVICE_${PN}-exporter = "stap-exporter.service" +PACKAGES =+ "${PN}-examples" +FILES_${PN}-examples = "${datadir}/${BPN}/examples/" +RDEPENDS_${PN}-examples += "${PN}" + +# don't complain that some examples involve bash, perl, php... +INSANE_SKIP_${PN}-examples += "file-rdeps" + +PACKAGES =+ "${PN}-python" +FILES_${PN}-python += "\ + ${bindir}/dtrace \ + ${libdir}/python*/ \ + ${libexecdir}/${BPN}/python/ \ +" +# python material requires sdt headers +RDEPENDS_${PN}-python += "${PN}-dev python3-core" +INSANE_SKIP_${PN}-python += "dev-deps" + do_configure_prepend () { # Improve reproducibility for c++ object files reltivepath="${@os.path.relpath(d.getVar('STAGING_INCDIR'), d.getVar('S'))}" -- 2.28.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#142683): https://lists.openembedded.org/g/openembedded-core/message/142683 Mute This Topic: https://lists.openembedded.org/mt/76990983/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-