Subject: Re: userland build
To: None <netbsd-help@NetBSD.org>
From: Christian Palomino <zakhrin@freeshell.org>
List: netbsd-help
Date: 10/13/2003 17:23:38
--=-C02BfVbAnIKa6Kuo3Et/
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

El Mon, 13 de 10 de 2003 a las 16:54, Ed White escribi?
> Hi,
>=20
> I've been reading various doc on NetBSD.org website and got confused.
> There're a lot of different examples to do the same thing, build userland=
.
>=20
> In the end I think I've found that this 2 lines should work for everyone,=
 but=20
> I would like to receive a confirm.=20
>=20
> NetBSD 1.6.x and 2.0=20
> =20
> # cd /usr/src=20
> # ./build.sh -u -D /
>=20
>=20
For 1.6.1_STABLE I do (after compiling a new kernel and rebooting):
cd /usr/src
./build.sh -O /usr/obj -T /usr/tools -D /usr/New-build -U obj tools
kernel=3DMYKERNEL
then reboot in single user mode
mount -u /
cd /usr/src
./build.sh -O /usr/obj -T /usr/tools -D /usr/New-build -U install=3D/

I use to make cleandir /usr/src and removing everything from /usr/obj
and /usr/tools before.

Regards

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

--=-C02BfVbAnIKa6Kuo3Et/
Content-Type: application/pgp-signature; name=signature.asc

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

iD8DBQA/isN5AM2QDWJNEA8RAo/XAKCuynbuXuNGdWaW9Y85P2lVHP5PjQCfbxVg
jcZX6FpqPzy2KWTw5/96m4A=
=PNR7
-----END PGP SIGNATURE-----

--=-C02BfVbAnIKa6Kuo3Et/--