summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmeta/recipes-kernel/modutils-initscripts/files/modutils.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/modutils-initscripts/files/modutils.sh b/meta/recipes-kernel/modutils-initscripts/files/modutils.sh
index 28fe6f92d7..67e1dcd990 100755
--- a/meta/recipes-kernel/modutils-initscripts/files/modutils.sh
+++ b/meta/recipes-kernel/modutils-initscripts/files/modutils.sh
@@ -13,6 +13,7 @@
13 13
14LOAD_MODULE=modprobe 14LOAD_MODULE=modprobe
15[ -f /proc/modules ] || exit 0 15[ -f /proc/modules ] || exit 0
16[ -d /lib/modules/`uname -r` ] || exit 0
16 17
17# Test if modules.dep exists and has a size greater than zero 18# Test if modules.dep exists and has a size greater than zero
18if [ ! -s /lib/modules/`uname -r`/modules.dep ]; then 19if [ ! -s /lib/modules/`uname -r`/modules.dep ]; then