Subject: Re: Updating userland for netbsd-1-6 branch
To: None <netbsd-help@NetBSD.org>
From: Christian Palomino <zakhrin@freeshell.org>
List: netbsd-help
Date: 12/30/2003 09:20:48
--ew6BAiZeqk4r7MaW
Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


El 12/30/03 07:54:37, Cory Bajus escribi=F3:
> I am trying to follow the instructions for 'Updating a stable NetBSD
> Release' (http://www.netbsd.org/Documentation/updating.html).  It
> all seems to work well except for the 'Updating the userland' step.
>
What I use to do:

First building the new kernel:
	#cd /sys/arch/%YOURARCHITECTURE%/conf
	#config GENERIC (or whatever your personalized kernel =20
compilation configuration file is)
	#cd ../compile/GENERIC (or the file name you used)
	#make depend
	#mv /netbsd /netbsd.old; mv netbsd /netbsd
	#reboot

Then building userland in nonroot detdir:
	#cd /usr/src
	#./build.sh -O /usr/obj -T /usr/tools -D /usr/NetBSD-new -U obj =20
tools kernel=3DGENERIC

The I reboot in single user mode and:
	#mount -u /
	#cd /usr/src
	#./build.sh -O /usr/obj -T /usr/tools -U install=3D/
	#reboot

I don't know if it is the best method, but after researching in the =20
archives and news is the only one I found that works for me.

Best Regards and a Happy New Year

--=20
Christian Palomino
mailto::zakhrin@freeshell.org
http://www.palominocassain.com
GPG FingerPrint: BFF6 784E 01D1 1722 90C2 276A 00CD 900D 624D 100F


--ew6BAiZeqk4r7MaW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQA/8TVfAM2QDWJNEA8RApzXAKCyBtNWNH2MXRrqawpdLzD+JsX/FwCgm8/P
Uxg9s6t2fbXYxNNozt+Mvhg=
=g16i
-----END PGP SIGNATURE-----

--ew6BAiZeqk4r7MaW--