mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-13 03:37:15 +00:00
kernel-selftest: Add the modules and tools the tests need
Many selftests modprobe what they need (gpio-mockup, netdevsim, vrf, the tc qdiscs, classifiers and actions, ...), but the image only had a couple of kernel modules, so recommend all of them. The net tests also need real iproute2, iputils ping and ping6, ethtool, iperf3, socat, jq, bc and taskset; busybox ip and ping lack most of the options they use, and busybox's ping6 has no -M, which pmtu.sh picks up over ping when it exists. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 file changed
+8
@@ -241,6 +241,14 @@ FILES:${PN} += "/usr/kernel-selftest"
|
||||
RDEPENDS:${PN} += "python3 perl perl-module-io-handle bash libcap libgcc coreutils e2fsprogs-mke2fs"
|
||||
# The net python tests load netlink specs with the YNL library.
|
||||
RDEPENDS:${PN} += "python3-pyyaml"
|
||||
# Tools the net selftests use; busybox ip and ping lack most of the options
|
||||
# they need.
|
||||
RDEPENDS:${PN}-ptest += "bc ethtool iperf3 iproute2 iproute2-bridge iproute2-nstat \
|
||||
iproute2-ss iproute2-tc iptables iputils-arping iputils-ping iputils-ping6 jq socat \
|
||||
util-linux-taskset"
|
||||
# Many selftests modprobe the modules they need (gpio-mockup, netdevsim, vrf,
|
||||
# the tc qdiscs, classifiers and actions, ...) and fail without them.
|
||||
RRECOMMENDS:${PN} += "kernel-modules"
|
||||
|
||||
INSANE_SKIP:${PN} += "libdir"
|
||||
|
||||
|
||||
Reference in new issue
Block a user