Skip to content
/ lfs Public

Linux From Scratch built in and using docker

License

Notifications You must be signed in to change notification settings

crowz-fx/lfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LFS

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

Run

Barebones base image from debian

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-empty

Base image built to build LFS

This 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-base

Run the fully built LFS system

This 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 run

Build

Base

make build-base

# to add a --no-cache to start from fresh
make cache=0 build-base

Full system

make build

# to add a --no-cache to start from fresh
make cache=0 build

Cleanup

Nuke all containers

Warning

This will nuke the containers specific to LFS (lfs-base and lfs-full)

make cleanup

Nuke everything

Caution

This wipes out everything, volumes, caches, images, containers etc. on your whole SYSTEM!

make nuke