Build a minimal Raspberry Pi OS from source
Conclusions
The focus of the (det)LFS process is to create a small, compact system without complex dependencies for running stably and reliably in critical situations. Of interest to normal users is that once the cross-compile toolchain is up and running, a new kernel can be created within a short time. Moreover, detLFS simplifies the process of porting available software as source code that is not (yet) available in the Debian or Raspberry Pi OS repositories.
Cross compiling is worth the work because a desktop Linux still runs far faster than even the fastest Raspberry Pi 4. However, if you prefer calm and slow, you can work through the detLFS process on a Pi. A manual on the PiLFS project page [4] closely follows the LFS manual. This project also provides scripts for a simplified semi-automated process. Although it will take hours to run, at least you don't have to watch the small-board computer do its work.
Infos
- Linux from Scratch: http://www.linuxfromscratch.org
- detLFS project: http://www.dettus.net/detLFS/
- Author's detLFS fork: https://github.com/bablokb/pi-detLFS
- PiLFS: https://intestinate.com/pilfs/
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)