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? Thanks, -ip -- When necessary, metric and inch tools can be used interchangeably.
At 04:08 18/03/2004, Igor Pokrovsky wrote:>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?Not possible. The release-building code needs to chroot into the -CURRENT world, and that will fail if you're not running a -CURRENT kernel. Colin Percival
At 7:08 AM +0300 3/18/04, Igor Pokrovsky wrote:>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? > >Thanks,It depends on what you mean by that. You can not do a 'make release' for -current while running -stable, for instance. However, if you mean you just want to upgrade your -stable box so that it is running some recent snapshot of -current, then that should be workable. Just update your /usr/src to the appropriate tag, and check through the entries in /usr/src/UPDATING (although that is probably going to describe many events you don't really care about when jumping from 4.9-stable to a recent current). You do have to be a bit more careful about following ALL of the standard steps for doing an upgrade, and avoid the temptation to try any of of the "shortcuts which usually work". Once you update your /usr/src tree, your /usr/src/UPDATING file will include a section on: To upgrade in-place from 4.x-stable to current -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu
Howdy,> -----Original Message----- > From: Igor Pokrovsky [mailto:tiamat@comset.net] > Sent: Thursday, 18 March 2004 15:08 > To: freebsd-stable@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
On Thu, Mar 18, 2004 at 03:37:44PM +1100, Chris Knight wrote:> Howdy, > > > -----Original Message----- > > From: Igor Pokrovsky [mailto:tiamat@comset.net] > > Sent: Thursday, 18 March 2004 15:08 > > To: freebsd-stable@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.