I run FreeBSD on a Raspberry Pi 3. This computer is permanently installed in a server room I do not have easy access to. Once FreeBSD 12 comes out, I want to update the computer to the new system release. According to the handbook, there are two ways to do so:
- use freebsd-update(8) to do a binary update
- compile and install FreeBSD from the source tree
Option (1) is unavailable as arm64 is not a tier 1 platform. Previously I went with option (2), but ever since LLVM was updated to 6.0, the system does not have enough RAM to compile FreeBSD. Adding more swap interestingly did not help very much. Compiling LLVM was always the most annoying part of the compilation process and now it's what breaks option (2) entirely.
What other options do I have to update the system? Previously I tried the following ways:
- Download the tar balls of the FreeBSD 12 distribution and unpack them over the running system. While this seems to have worked, it was a huge pain in the ass to make sure no configuration was overwritten and I have no way to ensure that no old files remain.
- Compile the source tree on a different system, transplant it over and install that. As I do not have another arm64 computer I tried to cross-compile from amd64 FreeBSD. Transplanting this source tree didn't seem to work but I don't remember what the problem was.
How can I solve this problem?