From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 16 15:48:03 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 8162216A41F for ; Thu, 16 Mar 2006 15:48:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BEF143D6D for ; Thu, 16 Mar 2006 15:48:02 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k2GFlxEq046557; Thu, 16 Mar 2006 10:48:00 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Thu, 16 Mar 2006 10:48:37 -0500 User-Agent: KMail/1.9.1 References: <20060316102103.H21913@quartz.bos.dyndns.com> In-Reply-To: <20060316102103.H21913@quartz.bos.dyndns.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603161048.39280.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1335/Wed Mar 15 23:58:43 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.5 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Tom Daly Subject: Re: Customized Releases with updated sources and a Custom Kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 15:48:03 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org