The qemuarm64 kernel builds loopback device support as a module and it isn't 
included
in the image leading to ltp test failures on that platform.

Add the missing kernel module RRECOMMENDS to avoid this and fix those errors.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/recipes-extended/ltp/ltp_20230516.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/ltp/ltp_20230516.bb 
b/meta/recipes-extended/ltp/ltp_20230516.bb
index e4ba3c68724..6c97dce6c32 100644
--- a/meta/recipes-extended/ltp/ltp_20230516.bb
+++ b/meta/recipes-extended/ltp/ltp_20230516.bb
@@ -113,6 +113,8 @@ RDEPENDS:${PN} = "\
     tar \
 "
 
+RRECOMMENDS:${PN} += "kernel-module-loop"
+
 FILES:${PN} += "${prefix}/* ${prefix}/runtest/* ${prefix}/scenario_groups/* 
${prefix}/testcases/bin/* ${prefix}/testcases/bin/*/bin/* 
${prefix}/testscripts/* ${prefix}/testcases/open_posix_testsuite/* 
${prefix}/testcases/open_posix_testsuite/conformance/* 
${prefix}/testcases/open_posix_testsuite/Documentation/* 
${prefix}/testcases/open_posix_testsuite/functional/* 
${prefix}/testcases/open_posix_testsuite/include/* 
${prefix}/testcases/open_posix_testsuite/scripts/* 
${prefix}/testcases/open_posix_testsuite/stress/* 
${prefix}/testcases/open_posix_testsuite/tools/* 
${prefix}/testcases/data/nm01/lib.a ${prefix}/lib/libmem.a"
 
 # Avoid stripping some generated binaries otherwise some of the ltp tests such 
as ldd01 & nm01 fail
-- 
2.39.2

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

Reply via email to