aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-03-11 12:01:36 +0100
committerKoen Kooi <koen@openembedded.org>2010-03-11 12:12:53 +0100
commitcd332df361751fbe63d2a4daabea0380fbba8980 (patch)
treef39ac16bf6bb9e75caadda5e869db7117a37c22f /recipes
parentdc3ecdbab289008d6cfe307a5006b2cc90f22ce8 (diff)
downloadopenembedded-cd332df361751fbe63d2a4daabea0380fbba8980.tar.gz
udev 151: create modules.dep if it doesn't exist, fixes scary warnings at first boot
Diffstat (limited to 'recipes')
-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"