aboutgitcode
diff options
context:
space:
mode:
authorMarco Pagani <marpagan@redhat.com>2024-06-14 16:14:17 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-06-14 17:56:15 +0200
commit7d73359038197622bf8b619f57a2a82cee1469bd (patch)
treebbd341e9daf41714ebfec23910fd374891e8b284
parent0b7d231b5ed187b7dd6d057472ee0fc34e55fe7d (diff)
downloadmbuto-7d73359038197622bf8b619f57a2a82cee1469bd.tar
mbuto-7d73359038197622bf8b619f57a2a82cee1469bd.tar.gz
mbuto-7d73359038197622bf8b619f57a2a82cee1469bd.tar.bz2
mbuto-7d73359038197622bf8b619f57a2a82cee1469bd.tar.lz
mbuto-7d73359038197622bf8b619f57a2a82cee1469bd.tar.xz
mbuto-7d73359038197622bf8b619f57a2a82cee1469bd.tar.zst
mbuto-7d73359038197622bf8b619f57a2a82cee1469bd.zip
mbuto: add modinfo to the kselftests profile
Some kernel selftests use the modinfo command to determine whether the test kernel module is present. If modinfo is not present in the image, these selftests will fail, so add it to the kselftests profile. Signed-off-by: Marco Pagani <marpagan@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-xmbuto8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbuto b/mbuto
index d138b8d..a2a8147 100755
--- a/mbuto
+++ b/mbuto
@@ -194,10 +194,10 @@ profile_kselftests() {
cpupower cut date dd diff dirname dmesg du env ethtool find gcc
grep head id ifconfig insmod ip ip6tables iperf3 iptables ipvsadm
jq killall ln logger ls lsmod make mausezahn md5sum mkdir mknod
- mktemp modprobe mount mv nc nft nproc nstat pidof ping python3
- realpath rm rmdir sed seq sipcalc sleep socat sort ss strace
- sysctl tail taskset tc tee timeout tput tr traceroute traceroute6
- true umount uname uniq uuidgen wc which}"
+ mktemp modinfo modprobe mount mv nc nft nproc nstat pidof ping
+ python3 realpath rm rmdir sed seq sipcalc sleep socat sort ss
+ strace sysctl tail taskset tc tee timeout tput tr traceroute
+ traceroute6 true umount uname uniq uuidgen wc which}"
if [ ! -f "include/config/kernel.release" ]; then
err "This profile needs to run from a kernel tree, exiting"