On 1/26/26 08:16, Yiding Liu (Fujitsu) via lists.openembedded.org wrote: > 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]
But does it make sense to build ptests for this recipe with such a kernel? I'd expect that it fails the latest at runtime due to the missing module (but most likely during buildtime, due to missing RDEPENDS) Instead of disabling this check (which seems to work as expected), wouldn't it be better to disable ptest completely in user layer (bbappend, local.conf...)? Or maybe the module could be moved to RRECOMMENDS, so it won't be a hard dependency. Ptests would still fail at runtime (with incompatible kernel config), but the build and qa checks could go on. > Signed-off-by: Liu Yiding <[email protected]> > --- > meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb > b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb > index 4e5b45891d..ac9dece2f9 100644 > --- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb > +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb > @@ -97,3 +97,5 @@ do_install_ptest () { > > RDEPENDS:${PN} = "ppp ppp-l2tp bash" > RDEPENDS:${PN}-ptest += "rpcbind kernel-module-l2tp-ppp procps-ps tcl" > + > +INSANE_SKIP:${PN}-ptest += "build-deps" > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#123889): https://lists.openembedded.org/g/openembedded-devel/message/123889 Mute This Topic: https://lists.openembedded.org/mt/117464733/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
