[OE-core] [PATCH 6/6] initscript: Change some order of init scripts

Xu, Dongxiao dongxiao.xu at intel.com
Fri Jun 17 01:39:58 UTC 2011


Hi Andrea,

> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
> Andrea Adami
> Sent: Thursday, June 16, 2011 5:38 PM
> To: Patches and discussions about the oe-core layer
> Subject: Re: [OE-core] [PATCH 6/6] initscript: Change some order of init scripts
> 
> On Thu, Jun 16, 2011 at 11:20 AM, Dongxiao Xu <dongxiao.xu at intel.com>
> wrote:
> > Move udev script to execute ealier since module autoload needs it to
> > create device nodes.
> >
> > Also move sysfs before udev which has dependency on it.
> >
> > Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>
> > ---
> <snip>
> 
> There was a drawback doing that: kernel modules loaded in unpredictable
> order:
> 
> http://patches.openembedded.org/patch/1917/
> 
> Is that still an issue?

Thanks for the reference.

In the above patch, modutils.sh is run before udevd. In such case, if an autoload module in modutils.sh needs to create a node under /dev/, this operation will fail since udevd is still not launched.
Therefore I move udevd before modutils.sh.

Thanks,
Dongxiao

> 
> Regards
> 
> Andrea
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list