[OE-core] update-modules, do we need it anymore?

Bruce Ashfield bruce.ashfield at gmail.com
Thu Jan 10 14:10:06 UTC 2013


On Thu, Jan 10, 2013 at 8:59 AM, Laurentiu Palcu
<laurentiu.palcu at intel.com>wrote:

>
>
> On 01/10/2013 03:45 PM, Bruce Ashfield wrote:
> >
> >
> >
> > On Tue, Jan 8, 2013 at 9:41 AM, Laurentiu Palcu
> > <laurentiu.palcu at intel.com <mailto:laurentiu.palcu at intel.com>> wrote:
> >
> >     Hi all,
> >
> >     While working on making all postinstalls run on host, I saw that we
> >     still use update-modules script. However, neither the kmod modprobe
> nor
> >     the busybox one read /etc/modules.conf file anymore which is created
> by
> >     update-modules script. Both scan /etc/modprobe.d/*.conf files.
> >
> >     So, does anybody know why do we still have it around? Most modern
> >     distributions declared update-modules as obsolete and
> /etc/modules.conf
> >     doesn't exist anymore. Am I missing something?
> >
> >
> > I've been using the autoload functionality (not heavily, but from time
> > to time)
> > that is currently tied to update-modules. I did a quick scan of the
> > alternatives
> > in oe-core, and didn't immediately see that the same thing is possible
> via
> > kmod. Is that the case, or am I missing something as well ?
> This autoload functionality seems to be provided by
> /etc/init.d/modutils.sh which is explicitly called from update-modules
> script. However, modutils.sh resides in modutils-initscripts.bb recipe.
> So, I personally see not use for update-modules anymore...
>

I don't have any use for the rest of update-modules, so I don't disagree on
that point. I'd just like to see a form of autoload support be continued if
anything happens to update-modules. But since update-modules isn't
mandatory, I suppose nothing drastic will happen to it regardless, but
having
a modern equivalent would be nice :)

Bruce


>
> Thanks,
> Laurentiu
> >
> > Cheers,
> >
> > Bruce
> >
> >
> >
> >     Thanks,
> >     Laurentiu
> >
> >     _______________________________________________
> >     Openembedded-core mailing list
> >     Openembedded-core at lists.openembedded.org
> >     <mailto:Openembedded-core at lists.openembedded.org>
> >
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
> >
> >
> >
> > --
> > "Thou shalt not follow the NULL pointer, for chaos and madness await
> > thee at its end"
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130110/43052cd1/attachment-0002.html>


More information about the Openembedded-core mailing list