summaryrefslogtreecommitdiff
path: root/misc/kvm/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kvm/doinst.sh')
-rw-r--r--misc/kvm/doinst.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/kvm/doinst.sh b/misc/kvm/doinst.sh
index e759a1ccea..a91532f67e 100644
--- a/misc/kvm/doinst.sh
+++ b/misc/kvm/doinst.sh
@@ -1,4 +1,4 @@
# Re-generate modules.dep and map files.
if [ -x sbin/depmod ]; then
- chroot . /sbin/depmod -a 1> /dev/null 2> /dev/null
+ chroot . /sbin/depmod -ae @KERNEL@ 1> /dev/null 2> /dev/null
fi