summaryrefslogtreecommitdiff
path: root/recipes-devtools/opkg/files/modprobe
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-04-21 10:21:57 -0500
committerJohn Klug <john.klug@multitech.com>2021-06-22 09:31:36 -0500
commit52832982df0da46818640a3d6fd116aa8b740f95 (patch)
tree2f6d70c8cf20af12f4e1ac312f44f449a3cccddd /recipes-devtools/opkg/files/modprobe
parentb659f6bdf70a4bc6357d41b557eb736f908caa62 (diff)
downloadmeta-mlinux-52832982df0da46818640a3d6fd116aa8b740f95.tar.gz
meta-mlinux-52832982df0da46818640a3d6fd116aa8b740f95.tar.bz2
meta-mlinux-52832982df0da46818640a3d6fd116aa8b740f95.zip
opkg fix for modprobe failures -- eventually this should be rolled into the main opkg package
Diffstat (limited to 'recipes-devtools/opkg/files/modprobe')
-rwxr-xr-xrecipes-devtools/opkg/files/modprobe8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-devtools/opkg/files/modprobe b/recipes-devtools/opkg/files/modprobe
new file mode 100755
index 0000000..7e32c58
--- /dev/null
+++ b/recipes-devtools/opkg/files/modprobe
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+ echo "modprobe $@" >> $OPKG_INTERCEPT_DIR/depmod
+ sort -u $OPKG_INTERCEPT_DIR/depmod > $OPKG_INTERCEPT_DIR/depmod.tmp
+ mv $OPKG_INTERCEPT_DIR/depmod.tmp $OPKG_INTERCEPT_DIR/depmod
+ chmod +x $OPKG_INTERCEPT_DIR/depmod
+ cp $OPKG_INTERCEPT_DIR/depmod /tmp/modprobestuff.txt
+