Re: [PATCH] modules: don't call depmod when overriding externalmodule install path

From: Jon Masters
Date: Mon Aug 16 2010 - 18:29:30 EST


On Mon, 2010-08-16 at 20:13 +0930, Rusty Russell wrote:
> On Mon, 16 Aug 2010 05:33:34 pm Jon Masters wrote:
> > Recent kernels include an additional call to depmod during the installation
> > of external kernel modules as a convenience, in order to ensure that those
> > modules are picked up by the module loading tools/initramfs scripts, etc.
> > Although this call is potentially of some value, it should not be made
> > when explicitly setting INSTALL_MOD_PATH to a different location. This
> > avoids creating extraneous modules.* files that will never be used.
> >
> > Signed-off-by: Jon Masters <jcm@xxxxxxxxxxxxxx>
>
> Acked-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
>
> I leave the Makefile stuff to the kbuild people...

Hey, thanks for forwarding. I figured I would do that, but I see you
already did. And yea, next time I'll ping the Kbuild folks directly.

Jon.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/