From: Koen Kooi Date: Thu, 11 Mar 2010 11:01:36 +0000 (+0100) Subject: udev 151: create modules.dep if it doesn't exist, fixes scary warnings at first boot X-Git-Tag: Release-2010-05/1~365 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd332df361751fbe63d2a4daabea0380fbba8980;p=openembedded.git udev 151: create modules.dep if it doesn't exist, fixes scary warnings at first boot --- 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"