From owner-freebsd-questions Fri Nov 9 8: 8: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mcqueen.wolfsburg.de (pns.wobline.de [212.68.68.5]) by hub.freebsd.org (Postfix) with ESMTP id 1B4D337B41B for ; Fri, 9 Nov 2001 08:07:59 -0800 (PST) Received: from colt.ncptiddische.net (ppp-219.wobline.de [212.68.69.230]) by mcqueen.wolfsburg.de (8.11.3/8.11.3/tw-20010821) with ESMTP id fA9G7tr14491 for ; Fri, 9 Nov 2001 17:07:56 +0100 Received: from jodie.ncptiddische.net (jodie.ncptiddische.net [192.168.0.2]) by colt.ncptiddische.net (8.11.6/8.11.6) with ESMTP id fA9G87D26071 for ; Fri, 9 Nov 2001 17:08:08 +0100 (CET) (envelope-from nils@tisys.org) Received: from jodie.ncptiddische.net (jodie.ncptiddische.net [192.168.0.2]) by jodie.ncptiddische.net (8.11.6/8.11.6) with ESMTP id fA9G7pI02185 for ; Fri, 9 Nov 2001 17:08:26 +0100 (CET) (envelope-from nils@tisys.org) Date: Fri, 9 Nov 2001 17:07:51 +0100 (CET) From: Nils Holland To: freebsd-questions@freebsd.org Subject: Making a custom release Message-ID: <20011109165810.I2174-100000@jodie.ncptiddische.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi folks, recently I obtained the *full* FreeBSD CVS repository on CD-R from a friend, and now I have put it on one of my machines. I keep it up-to-date by running cvsup once per night when everyone's asleep, and all in all, I find it really funny, because I can now check out any version of the sources and build them *without* putting a huge load on the official FreeBSD CVSup servers every time. After having played with the sources a little bit, I thought I'd try - entirely for the fun of it - to build a custom FreeBSD release. After having read the FAQ and /usr/src/release/Makefile, one question remained. Before I ask that question, let's have a look what the release Makefile has to say: # $FreeBSD: src/release/Makefile,v 1.536.2.59 2001/11/01 09:44:17 nyan Exp $ # # make release CHROOTDIR=/some/dir BUILDNAME=somename CVSROOT=/cvs/dir \ # [ RELEASETAG=tag ] # # Where "/some/dir" is the pathname of a directory on a some filesystem with # at least 1000MB of free space, "somename" is what you want the release to # call itself, "/cvs/dir" is where our source repo resides and, optionally, # which CVS "tag" name should be used when checking out the sources to build # the release (default is HEAD). So far, so good. Here comes the question: If I change to /usr/src/release and issue the command mentioned in the Makefile in order to build, let's say, a 4.3-RELEASE, will the *entire* build process take place in /some/dir (as noted in the example above), or will *any* changes be made to my real 4.4-STABLE sources I keep under /usr/src? I wouldn't really want /usr/src to be overwritten with the 4.3-RELEASE sources in case I decided to build a 4.3-RELEASE, and that's why I'm asking. So, can I safely build *any* release by following the procedure in /usr/src/release/Makefile without my /usr/src sources being messed up in any way? Comments are appreciated. Nils Nils Holland Ti Systems - FreeBSD in Tiddische, Germany http://www.tisys.org * nils@tisys.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message