diff mbox series

cpio_2.15.bb: delete superfluous ptest RDEPENDS on "ptest-runner"

Message ID f5199a88-ed0b-0423-3aae-61f882f8e6ca@crashcourse.ca
State New
Headers show
Series cpio_2.15.bb: delete superfluous ptest RDEPENDS on "ptest-runner" | expand

Commit Message

Robert P. J. Day Dec. 3, 2025, 8:56 p.m. UTC
Get rid of leftover cruft where a ptest-enabled recipe has a run-time
dependency on ptest-runner; this is now handled by ptest.bbclass.

This appears to be the only recipe in all of oe-core that had this.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

Comments

Alexander Kanavin Dec. 3, 2025, 9:23 p.m. UTC | #1
On Wed, 3 Dec 2025 at 21:55, Robert P. J. Day via
lists.openembedded.org <rpjday=crashcourse.ca@lists.openembedded.org>
wrote:
> This appears to be the only recipe in all of oe-core that had this.

I see it in meta/recipes-devtools/quilt/quilt.inc as well.

Alex
Alexander Kanavin Dec. 3, 2025, 9:27 p.m. UTC | #2
On Wed, 3 Dec 2025 at 22:24, Alexander Kanavin via
lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
wrote:
> > This appears to be the only recipe in all of oe-core that had this.
>
> I see it in meta/recipes-devtools/quilt/quilt.inc as well.

Ah nevermind, that's DEPENDS/PACKAGE_WRITE_DEPS to be able to use the
ptest user.

Alex
diff mbox series

Patch

diff --git a/meta/recipes-extended/cpio/cpio_2.15.bb b/meta/recipes-extended/cpio/cpio_2.15.bb
index fa011251e2..8c31209f77 100644
--- a/meta/recipes-extended/cpio/cpio_2.15.bb
+++ b/meta/recipes-extended/cpio/cpio_2.15.bb
@@ -69,7 +69,7 @@  do_install_ptest_base:append() {
 DEPENDS:append:class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}"
 PACKAGE_WRITE_DEPS:append:class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}"

-RDEPENDS:${PN}-ptest += "ptest-runner coreutils"
+RDEPENDS:${PN}-ptest += "coreutils"

 PACKAGES =+ "${PN}-rmt"