Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2005 23:52:16 +1000
From:      Richard Burakowski <richard.burakowski@mrburak.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: cvsup multiple RELENGs?
Message-ID:  <430C7B90.3060100@mrburak.net>
In-Reply-To: <200508241315.j7ODFDjh011725@app.auscert.org.au>
References:  <200508241315.j7ODFDjh011725@app.auscert.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?430C7B90.3060100>