Update /usr with cvs, create /usr/obj and /usr/tools (or clean its content).
As per documentation, build the tools. Inside /usr/src:
$ ./build.sh -O /usr/obj -T /usr/tools -U -u toolsNow build the kernel:
$ cd /usr/srcInstall it:
$ ./build.sh -O ../obj -T ../tools kernel=
# mv /netbsd /netbsd.oldAnd now, important, build and install the modules:
# mv /usr/obj/sys/arch/i386/compile/ /netbsd /
# ./build.sh -O /usr/obj -T /usr/tools -U -u modules installmodules=/
Reboot and check that the kernel works. Then build and install userland:
$ ./build.sh -O ../obj -T ../tools -U -x distribution
# ./build.sh -O ../obj -T ../tools -U -u -x install=/Cross your fingers and happy BSD!
No comments:
Post a Comment