[OE-core] update-modules, do we need it anymore?
Laurentiu Palcu
laurentiu.palcu at intel.com
Thu Jan 10 13:59:27 UTC 2013
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...
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"
More information about the Openembedded-core
mailing list