diff mbox series

[meta-networking,1/3] openl2tp: do not clobber the ptest-runner RRECOMMENDS

Message ID 20260819235718.3372843-1-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-networking,1/3] openl2tp: do not clobber the ptest-runner RRECOMMENDS | expand

Commit Message

Khem Raj Aug. 19, 2026, 11:57 p.m. UTC
From: Khem Raj <raj.khem@gmail.com>

ptest.bbclass pulls ptest-runner into the -ptest package with

    RRECOMMENDS:${PN}-ptest += "ptest-runner"

but the recipe then used a hard assignment for its own recommendation,
which overwrote that and left openl2tp-ptest recommending only
kernel-module-l2tp-ppp. ptest-runner was therefore never installed in
the ptest image, and meta-networking-image-ptest-openl2tp skipped the
whole run with "Test requires ptest-runner to be installed" instead of
executing any test.

Append instead of assigning, so both recommendations survive. The
openl2tp ptest now runs and passes.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
index 789ffc86ce..0d3953d35c 100644
--- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
+++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
@@ -97,4 +97,4 @@  do_install_ptest () {

 RDEPENDS:${PN} = "ppp ppp-l2tp bash"
 RDEPENDS:${PN}-ptest += "rpcbind procps-ps tcl"
-RRECOMMENDS:${PN}-ptest = "kernel-module-l2tp-ppp"
+RRECOMMENDS:${PN}-ptest += "kernel-module-l2tp-ppp"