2.2 KiB
title | date | description | summary | tags | showReadingTime | showWordCount | showPagination | showBreadcrumbs | feed_exclude | draft | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|
FreeBSD | 2024-08-31T08:35:46+02:00 |
|
false | false | false | true | true | true |
Some basic and random information about FreeBSD.
Tracking FreeBSD STABLE
A quick checklist. Read along on the FreeBSD website for further information.
As for my understanding only source updates are possible on the STABLE branch, but I still use pkg to install pre-compiled packages -- I will find out if that breaks things.
-
Update sources
$ doas git -C /usr/src pull
-
Check
/usr/src/UPDATING
-
Go to
/usr/src
$ cd /usr/src
-
Compile world
$ doas make -j8 buildworld
-
Compile and install kernel
$ doas make -j8 kernel
This is equivalent to
make -j8 buildkernel installkernel
. -
Reboot
$ shutdown -r now
-
Update config files
$ doas etcupdate -p
-p
short explained:Enable “pre-world” mode. Only merge changes to files that are necessary to successfully run ‘make installworld’ or ‘make installkernel’.
-
Again, go to
/usr/src
$ cd /usr/src
-
Install world
$ doas make installworld
-
Update config files (after world installation)
$ doas etcupdate -B
-B
explained:Do not build generated files in a private object tree. Instead, reuse the generated files from a previously built object tree that matches the source tree. This can be useful to avoid gratuitous conflicts in sendmail(8) configuration files when bootstrapping. It can also be useful for building a tarball that matches a specific world build.
-
Another one, reboot
$ shutdown -r now
System is up to date, following the branch stable/14 (for now).