Building OpenBSD-stable requires building and installing a new kernel, building and installing a new userland, and building and installing the new Xenocara.
Building an upgraded kernel is like building a custom kernel, as discussed in Chapter 19. Basically, the process boils down to this:
# cd /usr/src/sys/arch/platform/conf/ # config GENERIC # cd ../compile/GENERIC # make clean && make # make install
(If I planned to build OpenBSD regularly on this machine, I would script this.)
Chapter 19 is full of warnings about difficulties compiling a custom kernel. These don’t apply to building the GENERIC kernel on -stable. Remember that -stable includes only security fixes and obviously correct ...