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