Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2000 05:16:17 -0700 (PDT)
From:      Jeff Wyman <wysoft@wysoft.tzo.com>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        Stephen Montgomery-Smith <stephen@math.missouri.edu>, Kris Kennaway <kris@FreeBSD.ORG>, stable@FreeBSD.ORG
Subject:   Re: HEADS UP! Always use the 'make buildkernel' target to make  yerkernels
Message-ID:  <Pine.BSF.4.21.0007100511160.1668-100000@wysoft.tzo.com>
In-Reply-To: <3969CF3A.29207364@newsguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help

With all this effort of editing files, is it really too much to move the
built kernel file and change file/schg flags? Maybe a "make 
activekernel=XXX YYY" could make the appropriate changes to kernel XXX and
move it to /YYY as the active boot kernel. Just a quick thought.


On Mon, 10 Jul 2000, Daniel C. Sobral wrote:

> Stephen Montgomery-Smith wrote:
> > 
> > Kris Kennaway wrote:
> > >
> > > Summary of Officially Sanctioned Update Procedure:
> > >
> > > make buildworld
> > > make buildkernel
> > > make installkernel
> > > shutdown (drop into single-user mode)
> > > make installworld
> > > mergemaster
> > > reboot
> > >
> > 
> > The problem I have with make installkernel is the following:
> > if my kernel is called XXX, then the name of the new kernel is
> > /XXX, not /kernel.
> > 
> > So one would have to add the instructions:
> > 
> > cd /
> > chflags noschg XXX
> > mv XXX kernel
> > chflags schg XXX
> > 
> > This seems quite a bit of extra instructions.  Is this what is intended?
> 
> You can edit /boot/loader.conf and add a line like this:
> 
> kernel="XXX"
> 
> This way, XXX will be loaded instead of "kernel".
> 
> -- 
> Daniel C. Sobral			(8-DCS)
> dcs@newsguy.com
> dcs@freebsd.org
> capo@the.great.underground.bsdconpiracy.org
> 
> 		<jkh> _DES: The Book of Bruce has only one sentence in it, and it says
> "the actual directives of my cult are left as an exercise for the
> reader. Good luck."
> 		<EE> jkh: does it really include the 'good luck' part?
> 		<jkh> EE: OK, I made that part up.
> 		<jkh> EE: I figured it should sound a bit more cheery than how Bruce
> initially dictated it to me.
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 



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




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