[meta-networking][PATCH 1/3] openl2tp: do not clobber the ptest-runner RRECOMMENDS
Khem Raj <[email protected]>
| Newsgroups | org.openembedded.lists.openembedded-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Khem Raj <[email protected]> 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 <[email protected]> --- meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"