Subject: Re: Upgrading from 1.5.2 to -current?
To: Brad Knowles <brad.knowles@skynet.be>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-sparc
Date: 04/12/2002 09:44:18
On Fri, Apr 12, 2002 at 12:17:40AM +0200, Brad Knowles wrote:
> At 10:24 PM +0200 2002/04/11, Manuel Bouyer wrote:
> 
> >  in src/ you should have a file called BUIDLING. This should have all the
> >  infos.
> 
> 	I looked at that file.  Maybe I need to read it again, but I just 
> did not really understand precisely what steps I should be following. 
> There's stuff in there on cross-compiling and a whole bunch of other 
> things, but I didn't see anything that looked like an obvious 
> procedure that I should follow.
> 
> 	I was hoping for something like:
> 
> 		1.  Install NetBSD 1.5.2
> 		2.  Follow chapter 18.1 of "The NetBSD operating system:
> 		    a short guide", as available from
> 		    <http://www.netbsd.org/Documentation/#netbsd-guide>
> 		    to download the full source of the operating system.
> 		    Note that, as of 1.5.2, the full sources require
> 		    ~700MB of free disk space in /usr/src.
> 		3.  Type "cd /usr/src; make"
> 		4.  Before installing the new binaries, make and install
> 		    a new kernel image using the instructions available in
> 		    chapter XXX of the NetBSD Guide.
> 		5.  Type "cd /usr/src; make install"
> 		6.  Reboot the system.

From 3), just do:
3) cd /usr/src ; ./build.sh -d -D /usr/tmp/destdir
4) build a new kernel (cd /usr/src/sys/arch/i386/conf; config GENERIC; cd ../compile/GENERIC; make)
5) install the new kernel and reboot
6) mv /etc /etc.old; cd /usr/tmp/destdir; pax -rw -p e . /
7) merge bits from /etc.old in /etc (this should be not much more than
users added to master.passwd, groups, myname, mygate, resolv.conf, ifconfig.*,
rc.conf)
8) reboot

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--