]> git.ipfire.org Git - thirdparty/kmod.git/commit
tools/modprobe: --dry-run shouldn't need -v
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 13 Jun 2025 19:11:08 +0000 (14:11 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Mon, 16 Jun 2025 12:36:44 +0000 (07:36 -0500)
commit5eac1d728ca4d224287092fc765578a33686fe7c
tree449f089c51b88af89926f432505311d8856808c1
parent15edeed38680c7ab5cfa2717b1721e3e51e41e33
tools/modprobe: --dry-run shouldn't need -v

Make sure it shows something when running in dry-run mode.

Before:
kmod $ lsmod | grep i915
kmod $ ./build/modprobe --dry-run i915
kmod $ ./build/modprobe -v --dry-run i915
insmod /lib/modules/6.14.11-1-MANJARO/kernel/drivers/char/agp/intel-gtt.ko.zst
insmod /lib/modules/6.14.11-1-MANJARO/kernel/drivers/gpu/drm/i915/i915.ko.zst

After:
kmod $ lsmod | grep i915
kmod $ ./build/modprobe --dry-run i915
insmod /lib/modules/6.14.11-1-MANJARO/kernel/drivers/char/agp/intel-gtt.ko.zst
insmod /lib/modules/6.14.11-1-MANJARO/kernel/drivers/gpu/drm/i915/i915.ko.zst

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/372
tools/modprobe.c