On 22-Jan-01 Donald J . Maddox wrote:
> On Sun, Jan 21, 2001 at 10:49:30PM -0800, Peter Wemm wrote:
>> Argh! I wish people would stop using buildkernel! :-(  It calls config(8)
>> in such a way that buries the warning messages where people dont see.
>> config(8) is meant to be used interactively :-(
> Is there another target that will get a kernel built with new tools
> in /usr/obj rather than old, previously installed binaries?

Rarely if ever do you need the new tools.  The only cases are for a binutils
upgrade that is not backwards compatible (such as the 2.9 -> 2.10 upgrade), or
if you need a newer version of config, which can be handled by installing
config and then building your kernel.  The config(8) changes won't happen in
stable, and I don't foresee anymore drastic buildkernel changes in the future.

FWIW, I _never_ use buildkernel to update my kernels on any of my boxes.  I
just do it the old fashioned way, and with the exception of the 2.9 -> 2.10
binutils upgrade, it always works.  buildkernel overloads the KERNEL variable
and thus violates POLA, so it needs fixing regardless, but I don't see a reason
to encourage its use unless it is actually needed.


John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to