From owner-freebsd-questions@FreeBSD.ORG Wed Aug 24 13:52:23 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDFFD16A41F for ; Wed, 24 Aug 2005 13:52:23 +0000 (GMT) (envelope-from richard.burakowski@mrburak.net) Received: from mail.mrburak.net (203-217-17-178.perm.iinet.net.au [203.217.17.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28C6543D48 for ; Wed, 24 Aug 2005 13:52:18 +0000 (GMT) (envelope-from richard.burakowski@mrburak.net) Received: from [10.20.0.50] (unknown [10.20.0.50]) by mail.mrburak.net (Postfix) with ESMTP id D13F45C4E for ; Wed, 24 Aug 2005 23:52:16 +1000 (EST) Message-ID: <430C7B90.3060100@mrburak.net> Date: Wed, 24 Aug 2005 23:52:16 +1000 From: Richard Burakowski User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050811) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200508241315.j7ODFDjh011725@app.auscert.org.au> In-Reply-To: <200508241315.j7ODFDjh011725@app.auscert.org.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: cvsup multiple RELENGs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 13:52:23 -0000 Joel Hatton wrote: >Hi, > >Situation - I have a machine that I use to build the base system for >others. I'd like to be able to have multiple copies of /usr/src for >different releases - in particular, RELENG_5_3 and RELENG_5_4. Rather than >just changing my RELENG in the supfile and blowing away the tree each time >I thought I could maintain multiple source trees. One trivial way that >came to mind would be to copy /usr/src to /usr/RELENG_5_3 and >/usr/RELENG_5_4 and replace /usr/src with a symlink that points to the one >I'm using at the time - I don't know if this makes perfect sense, it's >just an idea :) > > from my supfile src-all tag=RELENG_5_4 prefix=/usr/releases/RELENG_5_4 and you can repeat that line for each release you want to follow. wouldn't suprise me if /usr/src isn't actually hardcoded into the build and it'll work with the src tree somewhere else, though i've always soft linked from /usr/src. otherwise, i'm not sure how wise it is to build different releases with a different base system and different kernel. might want to take a look at /usr/src/release.