[oe-commits] Koen Kooi : udev 151: create modules.dep if it doesn't exist, fixes scary warnings at first boot
git version control
git at git.openembedded.org
Thu Mar 11 11:13:33 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: cd332df361751fbe63d2a4daabea0380fbba8980
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cd332df361751fbe63d2a4daabea0380fbba8980
Author: Koen Kooi <koen at openembedded.org>
Date: Thu Mar 11 12:01:36 2010 +0100
udev 151: create modules.dep if it doesn't exist, fixes scary warnings at first boot
---
recipes/udev/udev-151/init | 5 +++++
recipes/udev/udev_151.bb | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/recipes/udev/udev-151/init b/recipes/udev/udev-151/init
index 66705e6..f4dc5de 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 ee31b27..1aca146 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"
More information about the Openembedded-commits
mailing list