Saturday, March 19, 2016

FreeBSD: system update with custom kernel

One reminder when updating a FreeBSD system running a custom kernel: when applying the security patches using command

freebsd-update

the custom kernel must be rebuilt and reinstalled, as stated in the handbook:

"(...)Only the GENERIC kernel can be automatically updated by freebsd-update. If a custom kernel is installed, it will have to be rebuilt and reinstalled after freebsd-update finishes installing the updates. However, freebsd-update will detect and update the GENERIC kernel if /boot/GENERIC exists, even if it is not the current running kernel of the system.(...)"

Refer to FreeBSD: Jails (3) - VIMAGE to build and install a custom kernel.


References:
https://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html#freebsd-update-custom-kernel-9x
https://www.freebsd.org/doc/handbook/kernelconfig-building.html

No comments:

Post a Comment