Re: [PATCH] make: add modules_update target

From: Theodore Ts'o
Date: Sat Apr 15 2006 - 11:05:54 EST


On Sat, Apr 15, 2006 at 10:40:58AM +0200, Sam Ravnborg wrote:
> The problem to be solved is the long time it takes to do
> "make modules_install" when working on a single module.
> Instead of bringing in more or less complex solutions what about
> extending "make dir/module.ko" to include the installation of the
> module.
>
> Something like:
> "make MI=1 dir/module.ko"
> where MI=1 tells us to install the said module.

Um, wouldn't that imply that either (a) the compile is being done as
root, or (b) the /lib/modules/* is writeable by a non-root userid? I
suppose the install command could be prefixed by sudo, but that seems
awkward (and not everyone uses sudo).

- Ted
-
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/