- Fixed build system to clone source repositories instead of downloading binaries - Enhanced scripts/fetch-github.sh with proper git repo cloning and branch handling - Updated scripts/compile-components.sh for RFS compilation with build-binary feature - Added minimal firmware installation for essential network drivers (73 modules) - Created comprehensive zinit configuration set (15 config files including getty) - Added util-linux package for getty/agetty console support - Optimized package selection for minimal 27MB initramfs footprint - Successfully builds bootable vmlinuz.efi with embedded initramfs - Confirmed working: VM boot, console login, network drivers, zinit init system Components: - initramfs.cpio.xz: 27MB compressed minimal Zero-OS image - vmlinuz.efi: 35MB bootable kernel with embedded initramfs - Complete Zero-OS toolchain: zinit, rfs, mycelium compiled from source
35 lines
680 B
Plaintext
35 lines
680 B
Plaintext
# MINIMAL Alpine packages for Zero-OS embedded initramfs
|
|
# Target: ~50MB total (not 700MB!)
|
|
|
|
# Core system (essential only)
|
|
alpine-baselayout
|
|
busybox
|
|
musl
|
|
|
|
# Module loading & hardware detection
|
|
eudev
|
|
kmod
|
|
|
|
# Console/terminal management
|
|
util-linux
|
|
|
|
# Essential networking (for Zero-OS connectivity)
|
|
iproute2
|
|
ethtool
|
|
|
|
# Filesystem support (minimal)
|
|
btrfs-progs
|
|
dosfstools
|
|
|
|
# Essential libraries only
|
|
zlib
|
|
|
|
# Network utilities (minimal)
|
|
dhcpcd
|
|
|
|
# Random number generation (for crypto/security)
|
|
haveged
|
|
|
|
# NO debugging tools, NO development tools, NO SSH, NO curl/wget
|
|
# NO python, NO redis, NO massive linux-firmware package
|
|
# These will be loaded from RFS after network connectivity |