Re: [q] make modules_install as non-root?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2 Dec 2005 10:23:49 +0800, 
Coywolf Qi Hunt <[email protected]> wrote:
>Hello people,
>
>I wrote my own installkernel so I can do `make install' as non-root
>with the help of sudo. But how can we get to do `make modules_install'
>as non-root with sudo as well?
>
>The works of modules_install seem scattered over several places.  Is
>it a nice idea to factor out an *installmodules* script for `make
>modules_install' to invoke?
>
>ps:
>Linus recommend us to build as non-root and install as root.
>I ask if we should install as non-root too.

make INSTALL_MOD_PATH=<somewhere> modules_install

Then use sudo to move from <somewhere>/lib/modules/<version> to /lib/modules/<version>.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux