summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/ptest-runner
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2021-10-08 14:43:48 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-09 17:21:47 +0100
commitbaa7f7f62f2cda3cbfdb2b54b4edd4576f176f4b (patch)
tree24e756ea5afb8ce4321da4a1b65be77adbcb5574 /meta/recipes-support/ptest-runner
parent99f50e7762fb6f7d53229affa4391fe79b2b7119 (diff)
downloadpoky-baa7f7f62f2cda3cbfdb2b54b4edd4576f176f4b.tar.gz
ptest-runner: install -collect-system-data script
When ptest-runner times out or otherwise fails, it tries to call ptest-runner-collect-system-data, so install the script. The script currently calls dmesg, df, free (which are provided by busybox, etc.) and pstree (which is a sub-package of psmisc). Add pstree as an RDEPENDS. (From OE-Core rev: 4e6be3fb521b23cfc175d0c09725bcc3ebbc73b2) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/ptest-runner')
-rw-r--r--meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb
index 1d3c24a177..23ab48ba2b 100644
--- a/meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb
+++ b/meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb
@@ -15,7 +15,7 @@ SRC_URI = "git://git.yoctoproject.org/ptest-runner2 \
15 15
16S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
17 17
18FILES:${PN} = "${bindir}/ptest-runner" 18FILES:${PN} = "${bindir}/ptest-runner ${bindir}/ptest-runner-collect-system-data"
19 19
20EXTRA_OEMAKE = "-e MAKEFLAGS= CFLAGS="${CFLAGS} -DDEFAULT_DIRECTORY=\\\"${libdir}\\\""" 20EXTRA_OEMAKE = "-e MAKEFLAGS= CFLAGS="${CFLAGS} -DDEFAULT_DIRECTORY=\\\"${libdir}\\\"""
21 21
@@ -25,6 +25,10 @@ do_compile () {
25 25
26do_install () { 26do_install () {
27 install -D -m 0755 ${S}/ptest-runner ${D}${bindir}/ptest-runner 27 install -D -m 0755 ${S}/ptest-runner ${D}${bindir}/ptest-runner
28 install -D -m 0755 ${S}/ptest-runner-collect-system-data ${D}${bindir}/ptest-runner-collect-system-data
28} 29}
29 30
30RDEPENDS:${PN}:append:libc-glibc = " libgcc" 31RDEPENDS:${PN}:append:libc-glibc = " libgcc"
32
33# pstree is called by ptest-runner-collect-system-data
34RDEPENDS:${PN}:append = " pstree"