Fix following issue when using customized kernel without kernel-module-l2tp-ppp 
enabled.
ERROR: openl2tp-1.8-r0 do_package_qa: QA Issue: openl2tp-ptest rdepends on 
kernel-module-l2tp-ppp, but it isn't a build dependency? [build-deps]

Signed-off-by: Liu Yiding <[email protected]>
---
 meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 3 ++-
 1 file changed, 2 insertions(+), 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 4e5b45891d..1d11d374fc 100644
--- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
+++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
@@ -96,4 +96,5 @@ do_install_ptest () {
 }
 
 RDEPENDS:${PN} = "ppp ppp-l2tp bash"
-RDEPENDS:${PN}-ptest += "rpcbind kernel-module-l2tp-ppp procps-ps tcl"
+RDEPENDS:${PN}-ptest += "rpcbind procps-ps tcl"
+RRECOMMENDS:${PN}-ptest = "kernel-module-l2tp-ppp"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#123894): 
https://lists.openembedded.org/g/openembedded-devel/message/123894
Mute This Topic: https://lists.openembedded.org/mt/117482381/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to