Date: Thu, 16 Mar 2006 10:48:37 -0500 From: John Baldwin <jhb@freebsd.org> To: freebsd-hackers@freebsd.org Cc: Tom Daly <tom@dyndns.com> Subject: Re: Customized Releases with updated sources and a Custom Kernel Message-ID: <200603161048.39280.jhb@freebsd.org> In-Reply-To: <20060316102103.H21913@quartz.bos.dyndns.com> References: <20060316102103.H21913@quartz.bos.dyndns.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 16 March 2006 10:26, Tom Daly wrote: > Hi, > I'd like to confirm my steps in building a customized FreeBSD release CD. > > The goal is to streamline server installation steps by having a CDROM that > will install FreeBSD 6.0 Release p5, and install a custom kernel on the > machine as well. > > I am taking the following steps: > > cd /usr/src/release > > sudo make release \ > CHROOTDIR=/raid/release \ > BUILDNAME=6.0-RELEASE-amd64-PE2850 \ > CVSROOT=/home/tom/cvs \ > RELEASETAG=RELENG_6_0 \ > MAKE_ISOS=YES \ > KERNELS=DELL2850 \ > LOCAL_SCRIPT=/home/tom/release-local.sh > | tee /tmp/output.txt > > release-local.sh simply copies the kernel file DELL2850 into > /raid/release/usr/src/sys/amd64/. > > Does this make sense? Will my sources be up to date in this case? Also, > the DELL2850 kernel is not the kernel I end up booting off of. Will simply > mv'ing the new kernel directory into place do the trick? Yes. I actually have hacked the release/Makefile locally to keep the GENERIC kernel in /boot/kernel.GENERIC/ and install my custom kernel config in /boot/kernel (though I currently do this on 4.x rather than 6.x). -- 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?200603161048.39280.jhb>