udev-141: backport the initscript depmod call from recent versions
authorDenys Dmytriyenko <denys@ti.com>
Fri, 11 Feb 2011 19:20:59 +0000 (14:20 -0500)
committerDenys Dmytriyenko <denys@ti.com>
Fri, 11 Feb 2011 19:28:02 +0000 (14:28 -0500)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
recipes/udev/udev-141/init
recipes/udev/udev_141.bb

index 14f2d50..4dcb241 100644 (file)
@@ -49,6 +49,11 @@ if [ "$DEVCACHE" != "" ]; then
        fi
 fi
 
+if [ ! -e "/lib/modules/$(uname -r)"/modules.dep ] ; then
+       mkdir -p /lib/modules/$(uname -r)
+       depmod -ae
+fi
+
 # make_extra_nodes
 kill_udevd > "/dev/null" 2>&1
 
index 1c6a148..80b7cc7 100644 (file)
@@ -7,7 +7,7 @@ DEFAULT_PREFERENCE = "-1"
 
 require udev.inc
 
-PR = "${INC_PR}.4"
+PR = "${INC_PR}.5"
 
 SRC_URI += "file://mount.blacklist \
            file://run.rules \