Subject: Re: advice needed..update to current
To: Pritesh <shahpritesh_email@excite.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 11/01/2003 16:36:18
On Thu, Oct 30, 2003 at 05:47:47PM -0500, Pritesh wrote:
> 
> hi,
> I have downloaded all the current-sources from ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-current/tar_files/src/
> and are under /usr/src.
> <br><br>These are the steps that i am following to update NetBSD-1.6.1 to current. I got these steps from<br><br>http://www.netbsd.org/Documentation/current/
> 
>  <br><br>Updating an existing system:<br><br>1. Build the toolchain.<br> From the root of the source tree, run './build.sh tools'. This will build a toolchain in tools/obj/tools.<hostplatform>/bin. <br>2. Build and install the kernel: <br>./build.sh kernel=GENERIC<br> <br>3. mv /netbsd /onetbsd<br> <br>4. mv sys/arch/<ARCH>/compile/GENERIC/netbsd /<br> <br>5. Reboot into the new kernel<br> <br>6. Run ./build.sh distribution<br> <br>7. Finally, install the new userland: ./build.sh install=/<br> <br>8. Optionally reboot to ensure all running services are using the new binaries<br><br>.
> 
> I finished the above process and wanted to find if there is something else other than the above mentioned that i need to do.

Once you've done this you updated the binaries.
You can then run etc/postinstall to update /etc and remove obsolete files.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--