building CURRENT release on STABLE box

Chris Knight chris at e-easy.com.au
Wed Mar 17 20:38:46 PST 2004


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.

Hope this helps.

> Thanks,
> 
> -ip
>

Regards,
Chris Knight
Systems Administrator
E-Easy
Tel: +61 3 6334 9995  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.e-easy.com.au




More information about the freebsd-stable mailing list