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

Re: Building the kernel



On Mon, 11 Mar 2002, Clay Dillard wrote:

> Can anyone help me find resources that go through, step by step, the process
> of building an OpenBSD kernel?  I want to upgrade the default install of
> IPfilter on OBSD 2.9 to the latest version and have trouble building the
> kernel.  I have read the mini how-to's and checked out many mailing list
> archives but most of the information assumes that the reader is already
> familiar with building kernels.

http://www.usa.openbsd.org/faq/faq5.html#Building

That pretty much does it step-by-step. What I usually do is something
like:

cd /usr/src/sys/arch/${arch}/conf/
cp GENERIC $MYBOX

then edit $MYBOX, (basically removing drivers I don't use), and go with
that. See options(4) for more information on most kernel options.

Where are you having difficulties?
+------------------------------------------------------------------------+
| Dave Taira <bodhi@hagakure.org>                2002.03.11/20:57:20 PST |
| Morlock for Hire                                                       |
+------------------------------------------------------------------------+
| You don't have to be impossible to manipulate. You just make it more   |
| trouble than you're worth.                                    --Andr00 |
+------------------------------------------------------------------------+