Just to confirm, if a patch seems to update the kernel and I use a custom kernel, does that mean it'll overwrite the active kernel with GENERIC and I have to recompile kernel after the update? Does it also update kernel's source in /usr/src?
freebsd-update(8) won't overwrite the active kernel. The active kerne, if it is named kernel, will be renamed in kernel.old:Just to confirm, if a patch seems to update the kernel and I use a custom kernel, does that mean it'll overwrite the active kernel with GENERIC
620 config_BackupKernelDir /boot/kernel.old
You can rename your renamed custom kernel into its original name and the updated kernel in something else (e.g. kernel.generic).I have to recompile kernel after the update?
# Components of the base system which should be kept updated.
Components src world kernel
Not just the kernel sources, but also world (userland) as well, as there are updates. As shown in the configuration file above, 'src' is among the components selected for updates.Does it also update kernel's source in /usr/src?
And this can't be loaded as a module? What driver?I can't use the GENERIC kernel because some of my devices don't have support and I need to add it in.
Did you report this? They're preparing for 15.1-RELEASE now, they might be able to squeeze it in before the release. Then you wouldn't have to rebuild anymore.I know, but I have to change usbdevs, which is part of kernel. (sys/dev/usb/usbdevs).
Which is exactly the order freebsd-update(8) would use. It creates the BE (of the current kernel+userland) then applies the patch (kernel, userland, or both). If things go south, you boot that BE and you'll be back to the state before the patch was applied. In other words, you are undoing the patch update (regardless if this patch was for the kernel, the userland, or both).git pull after a patch is released, create a bectl entry, and build/install kernel + world. This way you never mess anything up?
freebsd-update install, thus only one BE snapshot freebsd-update install, thus two BE snapshots freebsd-update install, thus three BE snapshots.