Part 5: Checking the results - How to build a Linux operating system in under 40 minutes using ALFS
Channel: Kernotex
Date: 10/03/2023

Now the build is complete I check the logs. As I am not booting this build, I also make some cursory sanity checks.

This series of videos show how to build Linux From Scratch 11.3 automatically using an automation tool called JHALFS, also known as ALFS.

Although the project is currently not stable and marked as development only, it is a capable tool and is able to automate almost all of the LFS build process including building the kernel and configuring the final system.

There could be many uses for automating the build including testing new package versions, patching and profiling. In theory it could also be part of a continuous integration system, for example to build a custom operating system based on Linux From Scratch.

As you'll see in the videos the complete compile time was just over 30 minutes without tests. In a separate session (not recorded in these videos) the build took about two hours with all tests enabled for the final stage. These timings are based on an Intel i9-13900K with 32 threads enabled.

Playlist: https://www.youtube.com/playlist?list=PLyc5xVO2uDsA2hM6QWF4otgYTqck-z1Cg

---