FreeBSD 13.0-RELEASE sources via Git

Software

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 https://svn.freebsd.org/base/releng/12.2 /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 https://git.freebsd.org/git 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

Me!

Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

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

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!