PATCHING THE BASE SYSTEM
From FreeBSD handbook, chapter 23:
First of all, I update the GENERIC kernel. It is very possible.
From the chapter of handbook mentioned above:
UPGRADING SOFTWARE PACKAGES
Starting the Autumn, 2017 I dislike packages again. Ports are the strength of FreeBSD! But I am going to describe the process of updating software packages. For the memories.
From FreeBSD handbook, chapter 23:
Only theIn this post I am going to show how I usually update my FreeBSD home box running a custom kernel inherited from the GENERIC kernel.GENERIC
kernel can be automatically updated byfreebsd-update
. If a custom kernel is installed, it will have to be rebuilt and reinstalled afterfreebsd-update
finishes installing the updates.
First of all, I update the GENERIC kernel. It is very possible.
From the chapter of handbook mentioned above:
This option suits my requirements, because my kernel based on the GENERIC.freebsd-update
will detect and update theGENERIC
kernel if/boot/GENERIC
exists, even if it is not the current running kernel of the system.
$ sudo freebsd-update fetchAfter the system come back, I upgrade the custom kernel (in my case called FBSD_GF4-1-NOSND).
$ sudo freebsd-update install
$ reboot
$ sudo -iBuilding a kernel may take a while. After the kernel is built, I install it.
# cd /usr/src
# make buildkernel KERNCONF=FBSD_GF4-1-NOSND
# make installkernel KERNCONF=FBSD_GF4-1-NOSND
# reboot
UPGRADING SOFTWARE PACKAGES
Starting the Autumn, 2017 I dislike packages again. Ports are the strength of FreeBSD! But I am going to describe the process of updating software packages. For the memories.
$ sudo portsnap fetch updateAfter reading UPDATING info carefully, I upgraded the software next way.
$ sudo pkg update
$ pkg updating | $PAGER
$ sudo pkg upgradeThen reboot and try to count regressions =)
$ sudo pkg clean
$ sudo pkg autoremove
$ reboot
Комментариев нет:
Отправить комментарий