From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RiUYM-0006JF-Fv for openembedded-core@lists.openembedded.org; Wed, 04 Jan 2012 18:23:47 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q04HFhYR022301 for ; Wed, 4 Jan 2012 17:15:43 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22223-01 for ; Wed, 4 Jan 2012 17:15:39 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q04HFaNx022295 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 4 Jan 2012 17:15:37 GMT Message-ID: <1325697336.20759.40.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Wed, 04 Jan 2012 17:15:36 +0000 In-Reply-To: References: X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: [PATCH 14/16] udev: run depmod if modules.dep doesn't exist X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 17:23:47 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2011-12-28 at 19:55 +0000, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador > --- > meta/recipes-core/udev/udev/init | 5 +++++ > meta/recipes-core/udev/udev_164.bb | 2 +- > 2 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init > index 322e7e7..8d89d51 100644 > --- a/meta/recipes-core/udev/udev/init > +++ b/meta/recipes-core/udev/udev/init > @@ -52,6 +52,11 @@ if [ "$DEVCACHE" != "" ]; then > fi > fi > > +if [ -x /sbin/depmod ] && [ ! -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 Why does udev need to do this instead of the kernel module postinstalls? This strikes me as the wrong thing to be doing here... Cheers, Richard