On Sat, 2011-01-22 at 18:31 +0000, Clint Adams wrote: > On Thu, Jan 20, 2011 at 08:43:39PM +0100, Harald Dunkel wrote: > > The problem seems to be that the kernel's install.sh script calls > > /sbin/installkernel, even though UID != 0 and I am just doing a > > local install in a temporary package build directory. This is fatal. > > The question is what installkernel should do when euid is not 0.
I don't think it's reasonable to test the euid; what's important is
whether the installation is being done onto the local system or into a
subdirectory. So perhaps installkernel should only be called if the
install path is '/'.
For now, it looks like you can suppress use of installkernel by running
something like:
make INSTALLKERNEL=this-command-does-not-exist install
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
signature.asc
Description: This is a digitally signed message part

