From owner-freebsd-stable Mon Jul 10 6:55:39 2000 Delivered-To: freebsd-stable@freebsd.org Received: from wysoft.tzo.com (c481444-a.bremtn1.wa.home.com [24.12.235.202]) by hub.freebsd.org (Postfix) with ESMTP id 6E4CE37BBFC; Mon, 10 Jul 2000 06:55:25 -0700 (PDT) (envelope-from wysoft@wysoft.tzo.com) Received: from localhost (wysoft@localhost) by wysoft.tzo.com (8.10.1/8.10.1) with ESMTP id e6ACGHj01705; Mon, 10 Jul 2000 05:16:17 -0700 (PDT) Date: Mon, 10 Jul 2000 05:16:17 -0700 (PDT) From: Jeff Wyman To: "Daniel C. Sobral" Cc: Stephen Montgomery-Smith , Kris Kennaway , stable@FreeBSD.ORG Subject: Re: HEADS UP! Always use the 'make buildkernel' target to make yerkernels In-Reply-To: <3969CF3A.29207364@newsguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > > _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." > jkh: does it really include the 'good luck' part? > EE: OK, I made that part up. > 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