Skip to content

bboortz/mini-linux-distro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mini-linux-distro

A minimal linux distribution for fun and education in order to learn how to build and bootstrap a "minimal linux distribution".

directory structure

  • 00_hello_world - the first try with a linux kernel and simple init program
  • 01_make - an improved make process to streamline the build with the same kernel and init program
  • 02_musl_libc - building init with musl libc
  • 03_busybox - exchanging the init program with a busybox statically build binary
  • 04_toybox - same like 03_busybox but with toybox. still with a few busybox leftovers..
  • 05_make_root - only linux and toybox, mkroot from toybox's make root command for initramfs creation

usage

cd 01_make
make help
make build
make package
make run

dependencies

which you have to provide to build everything

  • some linux / docker container / ...
  • make
  • gcc
  • musl-libc

which will be downloaded

  • linux
  • busybox
  • toybox

About

a minimal linux distribution for fun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published