Date: Fri, 9 Nov 2001 17:07:51 +0100 (CET) From: Nils Holland <nils@tisys.org> To: freebsd-questions@freebsd.org Subject: Making a custom release Message-ID: <20011109165810.I2174-100000@jodie.ncptiddische.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011109165810.I2174-100000>
