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

Re: -current compile almost works.....



On Thu, 15 Mar 2001, Miod Vallat wrote:

MV>> I upgraded config first because someone a while back said you had to do
MV>> that.  Then did cd /usr/src: make
MV>Ever read the insightful comments at the beginning of /usr/src/Makefile?
MV>You should.
MV>
MV>Short story : you won't be able to compile all of -current unless you
MV>install -current include files and libraries.

I was running -stable and needed to upgrade to -current in order to
run a specific package.  Here is what I did.  This is on i386.

- mv'd my old src tree to src-stable

- made a new /usr/src with identical permissions and ownership.  The docs
indicate that this should not be a softlink.

- used cvs to grab a fresh source tree

- nuked /usr/obj and did a make obj

- cd'd to the usr.sbin/config and made config, installed it

- config'd and built a new kernel.  This was generic with only one or two
minor changes necessary for this system.  Had no problems here.

- rebooted with the new kernel.  Be aware that some things won't work...e.g.,
ps and other binaries that depend on kernel memory structures.  I rebooted
with my old kernel before building the new -current.  The best procedure here
from a system management perspective would be good.

- I then did a make clean (just to be safe) and make build.

- rebooted.  All was well:

OpenBSD 2.8-current (BIFROST) #6: Tue Mar 13 14:20:26 PST 2001
    root@bifrost:/usr/src/sys/arch/i386/compile/BIFROST

-- 
Email : afabbro@indoctrination.com          "Don't try to be like Jackie.
Pager : 1.800.946.4646.1463479               There is only one Jackie.
Web   : www.indoctrination.com               Study computers instead."
IP    : 4.33.204.166                             -- Jackie Chan