Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 18:25:04 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        George Cox <gjvc@gjvc.com>
Cc:        Christian Weisgerber <naddy@mips.rhein-neckar.de>, Jeff Beley <jeffb@cameron.edu>, freebsd-questions@freebsd.org
Subject:   Re: Cvsup
Message-ID:  <20000216182504.D326@marder-1>
In-Reply-To: <20000216004739.B10907@extremis.demon.co.uk>
References:  <20000211131729.A3426@daemon9.cameron.edu> <881sar$kfs$1@bigeye.rhein-neckar.de> <20000216004739.B10907@extremis.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 16, 2000 at 12:47:39AM +0000, George Cox wrote:
> On 11/02 21:44, Christian Weisgerber wrote:
> 
> > Jeff Beley <jeffb@cameron.edu> wrote:
> > 
> > > How does one upgrade a source tree to the lastest 4.0?  Is the
> > > standard-supfile the right one?
> > 
> > standard-supfile plus secure-supfile.
> 
> This is incorrect.  In order to update the source tree to 4.0-CURRENT,
> you need a supfile similar to /usr/share/examples/cvsup/supfile-current.
> 
> Be aware that upgrading a 3.4-STABLE -> 4.0-CURRENT requires more than just
> recompiling the kernel, and making world.
> 
> 

Marius Strom posted a step-by-step guide to upgrading 3.4-STABLE ->
4.0-CURRENT on -docs the other day. I've included it here because
AFAIK the mail archives are still down.


-------------- Begin included message ---------------

Subject: 3.4-STABLE to 4.0-CURRENT Update Procedures
From: Marius Strom <marius@alpha1.net>
Date: Wed, 9 Feb 2000 14:27:29 -0600 (CST)
To: doc@freebsd.org
 
To whom it may concern:

I initially wrote this to jkh, but he suggested I forward it here.  I'm
not subscribed to this list, but it may be helpful for the handbook.

A small note -- I've been using FreeBSD for a number of months now, but
have been admin'ing (Linux|Solaris) for a number of years.

This isn't really a complaint about the release install, but some quick
documentation would be necessary as far as doing a cvs update and
following (build|install)world procedure.  I've taken the liberty of
writing this up without explanations as far as the luck I personally had
with the procedure.  I'll put in some notes as to why they must be done in
the order presented:
(some of this is thanks to people on the -current mailing list; their
names escape me now)

cvsup the -current source using /usr/share/examples/cvsup/standard-supfile
as an outline
cd /usr/src/usr.bin/genassym && make obj ; make depend all install clean
cd /usr/src/usr.sbin/config && make depend all install clean
cd /usr/src/sys/i386/conf
<create new kernel config here>
config new_kernel
cd ../../compile/new_kernel
cp /kernel /kernel-3.x-backup
make depend && make && make install
cd /usr/src
make buildworld
cd /usr/src/sys/boot
make install	// can't be built on it's own - requires the newly built \
		// cc flags etc.  a buildworld is required prior to this
disklabel -B <disk device... wd0, wd1, da0, da1, etc, etc>
shutdown -r now
boot single user mode
<file system mounting may be needed here>
cd /usr/src
make -k -DNOINFO installworld
		// must be done under new kernel due to 19990929 \
		// notes.
mergemaster	// take note that `xntpd` is now called `ntpd`
		// also, sendmail.cf moved to /etc/mail/
shutdown -r now
<transition to ata stuff at your leisure>
system should be fine


I hope this helps, not very well documented and most stuff can be found in
the UPDATING file, but I think a suitable step-by-step would assist a
great deal.  I think I remembered everything I did. =]

As always, YMMV.

-- 
Marius Strom <marius@alpha1.net>
Professional Geek/Unix System Administrator
Alpha1 Internet <http://www.alpha1.net>;
http://www.marius.org/marius.pgp 0x5645C228

-------------- End included message ---------------

> gjvc
> 
> -- 
> [gjvc]
> <gjvc@gjvc.com>
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
	Microsoft: Where do you want to go today?
	Linux:     Where do you want to go tomorrow?
	BSD:       Are you guys coming, or what?
			              -Poster at LinuxWorld 2000
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org             http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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