Skip to contentSkip to conversation

recipes-kernel: perf: Add a perf.bbappend to handle RDEPENDS on newer kernel

PATCH In review Nishanth Menon 2 participants 2 messages May 4, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 recipes-kernel: perf: Add a perf.bbappend to handle RDEPENDS on newer kernel

Commit 159cdb159ad0 ("perf-tests: add bash into RDEPENDS (v5.12-rc5+)") in upstream openembedded-core layer.

Copying over a snippet of description over:

Commit 1dc481c0b0cf perf test: Change to use bash for daemon test in upstream kernel
Changes tools/perf/tests/shell/daemon.sh to be explicitly bash (it was already required, but was just skipped on various
distros).

We add it into our RDEPENDS for perf-tests to fixup 5.12+ builds.

We already have relatively heavy RDEPENDS for perf tests (python3), so adding bash into the RDEPENDS isn't signifcant even for older perf builds that use the same recipe.

[OE patch by: Bruce Ashfield <[email protected]>]

---
Changes since V1:
- use append instead of prepend
- guard for ti-socs.

V1: https://lists.yoctoproject.org/g/meta-ti/message/13771?p=,,,20,0,0,0::created,0,,1,2,0,13771

 recipes-kernel/perf/perf.bbappend | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 recipes-kernel/perf/perf.bbappend
recipes-kernel/perf/perf.bbappend new file +1 -0
new file mode 100644
index 000000000000..9818a3b99ea7
@@ -0,0 +1 @@
+RDEPENDS_${PN}-tests_ti-soc += "bash"
Signature · 1 line
2.31.0
Reviewed-by on v2 1/1
#1 lore raw
Quoted 14 lines · Nishanth Menon

Commit 159cdb159ad0 ("perf-tests: add bash into RDEPENDS (v5.12-rc5+)") in upstream openembedded-core layer.

Copying over a snippet of description over:

Commit 1dc481c0b0cf perf test: Change to use bash for daemon test in upstream kernel
Changes tools/perf/tests/shell/daemon.sh to be explicitly bash (it was already required, but was just skipped on various
distros).

We add it into our RDEPENDS for perf-tests to fixup 5.12+ builds.

Quoted 6 lines

We already have relatively heavy RDEPENDS for perf tests (python3), so adding bash into the RDEPENDS isn't signifcant even for older perf builds that use the same recipe.

[OE patch by: Bruce Ashfield <[email protected]>]
Quoted 6 lines

---
Changes since V1:
- use append instead of prepend
- guard for ti-socs.

V1: https://lists.yoctoproject.org/g/meta-ti/message/13771?p=,,,20,0,0,0::created,0,,1,2,0,13771

Thanks for addressig the comments!

Quoted 14 lines
 recipes-kernel/perf/perf.bbappend | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 recipes-kernel/perf/perf.bbappend
recipes-kernel/perf/perf.bbappend new file +1 -0
new file mode 100644
index 000000000000..9818a3b99ea7
@@ -0,0 +1 @@
+RDEPENDS_${PN}-tests_ti-soc += "bash"
Signature · 1 line
2.31.0
Signature · 4 lines
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964