=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/stable.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- www/stable.html 2006/11/01 06:29:55 1.21 +++ www/stable.html 2007/01/02 01:00:02 1.22 @@ -1,32 +1,36 @@ - +
-
-
Starting with 2.7, OpenBSD provides a source tree that contains @@ -61,7 +65,7 @@
To obtain the patch branch for a particular release of OpenBSD, you @@ -81,7 +85,7 @@ library versioning problems. -
To rebuild the default kernel from stable: -
+# cd /usr/src/sys/arch/i386/conf # /usr/sbin/config GENERIC # cd /usr/src/sys/arch/i386/compile/GENERIC # make clean && make depend && make -+
Replace i386 with your architecture, e.g. sparc, alpha, etc. -
To reboot with the newly compiled kernel: -
+# cd /usr/src/sys/arch/i386/compile/GENERIC # cp /bsd /bsd.old (Save an old copy of your kernel) # cp bsd /bsd (Copy the new kernel into place) # reboot -+
As above, substitute your architecture for i386. If your system has trouble booting the new kernel, you can easily go back and reboot from the old kernel, now called bsd.old. -
To rebuild the system binaries: -
+# rm -rf /usr/obj/* # cd /usr/src # make obj # cd /usr/src/etc && env DESTDIR=/ make distrib-dirs # cd /usr/src # make build -+
This will take awhile...