diff options
Diffstat (limited to 'meta/packages')
-rwxr-xr-x | meta/packages/modutils/files/modutils.sh | 4 | ||||
-rw-r--r-- | meta/packages/modutils/modutils-initscripts.bb | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/packages/modutils/files/modutils.sh b/meta/packages/modutils/files/modutils.sh index 89281276fd..35a6412065 100755 --- a/meta/packages/modutils/files/modutils.sh +++ b/meta/packages/modutils/files/modutils.sh | |||
@@ -5,9 +5,7 @@ LOAD_MODULE=modprobe | |||
5 | [ -f /etc/modules ] || exit 0 | 5 | [ -f /etc/modules ] || exit 0 |
6 | [ -e /sbin/modprobe ] || LOAD_MODULE=insmod | 6 | [ -e /sbin/modprobe ] || LOAD_MODULE=insmod |
7 | 7 | ||
8 | if [ ! -e /sbin/depmod ]; then | 8 | if [ ! -f /lib/modules/`uname -r`/modules.dep ]; then |
9 | [ -f /lib/modules/`uname -r`/modules.dep ] || LOAD_MODULE=insmod | ||
10 | else | ||
11 | [ "$VERBOSE" != no ] && echo "Calculating module dependencies ..." | 9 | [ "$VERBOSE" != no ] && echo "Calculating module dependencies ..." |
12 | depmod -Ae | 10 | depmod -Ae |
13 | fi | 11 | fi |
diff --git a/meta/packages/modutils/modutils-initscripts.bb b/meta/packages/modutils/modutils-initscripts.bb index bf51ca87f6..07f4810fc6 100644 --- a/meta/packages/modutils/modutils-initscripts.bb +++ b/meta/packages/modutils/modutils-initscripts.bb | |||
@@ -2,7 +2,7 @@ SECTION = "base" | |||
2 | DESCRIPTION = "modutils configuration files" | 2 | DESCRIPTION = "modutils configuration files" |
3 | LICENSE = "PD" | 3 | LICENSE = "PD" |
4 | SRC_URI = "file://modutils.sh" | 4 | SRC_URI = "file://modutils.sh" |
5 | PR = "r2" | 5 | PR = "r3" |
6 | 6 | ||
7 | INITSCRIPT_NAME = "modutils.sh" | 7 | INITSCRIPT_NAME = "modutils.sh" |
8 | INITSCRIPT_PARAMS = "start 20 S ." | 8 | INITSCRIPT_PARAMS = "start 20 S ." |