summaryrefslogtreecommitdiff
path: root/recipes/udev
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/udev')
-rw-r--r--recipes/udev/udev-151/init5
-rw-r--r--recipes/udev/udev_151.bb2
2 files changed, 6 insertions, 1 deletions
diff --git a/recipes/udev/udev-151/init b/recipes/udev/udev-151/init
index 66705e6767..f4dc5de2f5 100644
--- a/recipes/udev/udev-151/init
+++ b/recipes/udev/udev-151/init
@@ -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
diff --git a/recipes/udev/udev_151.bb b/recipes/udev/udev_151.bb
index ee31b27604..1aca146f87 100644
--- a/recipes/udev/udev_151.bb
+++ b/recipes/udev/udev_151.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
LICENSE = "GPL"
-PR = "r3"
+PR = "r4"
# Untested
DEFAULT_PREFERENCE = "-1"