FreeBSD 13.0-RELEASE sources via Git


Being able to easily recompile the entire OS is one of the supreme benefits of FreeBSD (and the other BSDs) over others like Linux. You can trust and verify that binary releases haven’t been tampered with, and optimise your system with exactly what you need.

Previously one would have used my beloved Subversion to get system sources similar to this:

# svnlite checkout /usr/src

Since the switch to Git, you can specify which branch you want which corresponds to a release:

# cd /usr
# git clone -b releng/13.0 --depth 1 src

There’s no Git client in base that I can tell, but you can install the net/gitup tool which was written for the express purpose of downloading such sources on FreeBSD. The alternative is the full git client, or git-lite if you don’t need as many dependencies.

Now, back to upgrading this Panasonic Let’s Note CF-RZ6!

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.