Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 16:19:18 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-hackers@FreeBSD.org
Cc:        ctodd@chrismiller.com
Subject:   Re: How to customize a release?
Message-ID:  <200409021619.18602.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSI.4.58L.0409021258160.12150@vp4.netgate.net>
References:  <Pine.BSI.4.58L.0409021203480.12150@vp4.netgate.net> <200409021538.26944.jhb@FreeBSD.org> <Pine.BSI.4.58L.0409021258160.12150@vp4.netgate.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409021619.18602.jhb>