Linux from scratch seems cool af to roll your own and get a deeper understanding of what actually composes a linux system.
Note
Built using version 12.2
Not finished - currently @ 5.3. GCC-14.2.0 - Pass 1
Other things to note/read
Useful to just get the barebones top-of-tree image LFS is built on top of
make run-empty
# to nuke existing container
make clean=1 run-emptyThis image has all of the install tools required to be able to install/compile/configure LFS
make run-base
# to nuke existing container
make clean=1 run-baseThis image has all of the install tools required to be able to install/compile/configure LFS
make run
# to nuke existing container
make clean=1 runmake build-base
# to add a --no-cache to start from fresh
make cache=0 build-basemake build
# to add a --no-cache to start from fresh
make cache=0 buildWarning
This will nuke the containers specific to LFS (lfs-base and lfs-full)
make cleanupCaution
This wipes out everything, volumes, caches, images, containers etc. on your whole SYSTEM!
make nuke