building CURRENT release on STABLE box

Igor Pokrovsky tiamat at comset.net
Wed Mar 17 21:31:46 PST 2004


On Thu, Mar 18, 2004 at 03:37:44PM +1100, Chris Knight wrote:
> Howdy,
> 
> > -----Original Message-----
> > From: Igor Pokrovsky [mailto:tiamat at comset.net] 
> > Sent: Thursday, 18 March 2004 15:08
> > To: freebsd-stable at freebsd.org
> > Subject: building CURRENT release on STABLE box
> > 
> > Hello all,
> > 
> > I would like to to try building CURRENT release on STABLE (i386) box.
> > Is it technically possible? If so, are there any caveats awaiting me?
> > 
> /usr/src should contain a checkout of -stable, and have a buildworld
> done from that.
> You then need to checkout src/release from -current, but put it in
> /usr/src5/release for example.
> You then need to cd to /usr/src/release and issue the make release, but
> pointing to the -current release Makefile
> For example:
> 
> mkdir /usr/src4
> cvs co -rRELENG_4 -d/usr/src4 src
> mkdir -p /usr/src5/release
> cvs co -d/usr/src5/release release
> cd /usr/src4
> make buildworld
> cd release
> make -f /usr/src5/release/Makefile release ...
> 
> where ... means to add your release flags accordingly.
> 
> Thanks very much to Ruslan and others for making this work!
> 
> The caveat is that the release build may not complete successfully,
> or work correctly.
> 

Thanks for a hint Chris. I'll give it a try.
The reason behind this was to upgrade STABLE box.
AFAIK some people successed in doing upgrade to CURRENT by building world
+ doing many additional things manually, but I have little experience
with CURRENT...
As I don't have CURRENT installation CD and don't know where to buy it
around here, I was thinking about building one myself.

-ip
-- 
An expert doesn't know any more than you do.  He or she is
merely better organized and uses slides.


More information about the freebsd-stable mailing list