Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 10:00:22 -0800
From:      "DINKEY,GENE (HP-Loveland,ex1)" <gene_dinkey@hp.com>
To:        freebsd-questions@FreeBSD.org
Subject:   RE: too much confusion over kernel building
Message-ID:  <F341E03C8ED6D311805E00902761278C53153C@xfc04.fc.hp.com>

next in thread | raw e-mail | index | archive | help
Here's what I have always done...

If I'm just building a custom kernel, say to enable device support or
something like that I do:

cd /usr/src/sys/i386/conf
config MYKERNEL
cd ../../compile/MYKERNEL
make depend
make
make install

-=-=-=-=-=

If I am upgrading my system and have cvsup'd the source files for the
userland and kernel binaries I do this instead:

cd /usr/src
make builworld
make buildkernel KERNEL=YOURCONFIGFILE
make installkernel KERNEL=YOURCONFIGFILE
make installworld


This is in the case of a full system upgrade, not just upgrading the kernel
source.  I suppose if it was just a matter of upgrading the kernel source
you could skip installing world and those things.

Although I do remember a discussion I had earlier last year about keeping
userland and kernel source stuff in sync with the release.  I think the gist
of what I got was that it may not be a good idea to update kernel sources
without updating userland sources as well.

Perhaps I'm completely mistaken but the system hasn't crashed yet  :)

Gene
aka
gder@gder.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F341E03C8ED6D311805E00902761278C53153C>