Re: how to avoid that install.sh goes mad, if I am not root?

From: Harald Dunkel
Date: Fri Jan 21 2011 - 17:08:23 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/21/11 13:49, WANG Cong wrote:
> On Thu, 20 Jan 2011 22:47:56 +0100, Mikael Pettersson wrote:
>>
>> First, at least on x86, the kernel will look for the 'installkernel'
>> executable first in your own ~/bin/, so if you have that then it will
>> override /sbin/installkernel.
>>
>
> That still doesn't look like a good solution.
>

Same for me.

Obviously running /sbin/installkernel is not reasonable for
UID != 0 (or if $FAKEROOTKEY is set), so I would suggest to
skip /sbin/installkernel and the default Lilo setup in
install.sh for this case.


Only a suggestion, of course.

Regards

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk06A8oACgkQUTlbRTxpHjeuVwCeJjTgyjcIqvqrUTqxoGgAJngd
iwkAn2U/qiekItqItRBmpeEqk/dH0FKZ
=LgO3
-----END PGP SIGNATURE-----
--
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/