From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 2 21:21:29 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DA1D16A4CE for ; Thu, 2 Sep 2004 21:21:29 +0000 (GMT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD87143D48 for ; Thu, 2 Sep 2004 21:21:28 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 15534 invoked from network); 2 Sep 2004 21:21:28 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 2 Sep 2004 21:21:28 -0000 Received: from [10.50.41.228] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i82LLOmX070450; Thu, 2 Sep 2004 17:21:24 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-hackers@FreeBSD.org Date: Thu, 2 Sep 2004 16:19:18 -0400 User-Agent: KMail/1.6.2 References: <200409021538.26944.jhb@FreeBSD.org> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409021619.18602.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: ctodd@chrismiller.com Subject: Re: How to customize a release? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 21:21:29 -0000 On Thursday 02 September 2004 04:07 pm, ctodd@chrismiller.com wrote: > John, > Thanks for the quick reply. > > > There is a 'KERNELS' variable that is helpful. > > I see this in the Makefile, but if I were to use KERNELS=MYKERNEL will > that prevent the other standard kernels from being built? > > > Also, look at LOCAL_PATCHES and LOCAL_SCRIPTS as far as how to patch a > > release build. Note that you can include patches to > > src/release/Makefile in LOCAL_PATCHES if need be. :) > > LOCAL_PATCHES is what I'm using now (waiting for build to finish to see > how it worked). I was hoping for a way to populate the src tree without > doing a full release so I could create the patches, then run make release > only once (it took 5 hours on my devel system last time). At this point > I've already done that, but for the next time I'd like to work more > efficiently. > > BTW, I see I overlooked the RELEASENOUPDATE variable in the man page, so > that answers my question about preventing CVS updates on "make rerelease". > Unfortunately make rerelease didn't rebuild anything in /R/stage (I got > "ftp.1 is up to date"). Am I supposed to delete the stage directories to > force a rebuild, or do I need to do a full release to incorporate any > minor changes? I just delete the files in ${CHROOTDIR}/usr/obj/usr/src/release to get it to rebuild the targets I want. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org