mirror of
https://github.com/blazblue547-afk/nova-os.git
synced 2026-12-02 14:54:17 -05:00
2dfd0999db0364c00616c8da21e6f50f04bfff5a
- Compile systemd 260.2 from upstream source (meson/ninja) - Compile BusyBox 1.36.1 static from source - Zero Debian binaries in rootfs (kernel + systemd + busybox all from source) - 56 MB rootfs with networkd, resolved, and getty - Custom Nova splash service at boot - Runtime libs (glibc, libcrypto, etc.) from host toolchain - Updated mkimage.sh, Makefile, README for from-source workflow - Output: nova-os-3.0-from-source.img (1.5 GB)
✦ Nova OS
Burn bright, run light.
A from-source Linux distribution — every significant binary compiled on this machine. No Debian packages, no prebuilt binaries (except the C runtime toolchain). Designed for the Raspberry Pi 5.
╔══════════════════════════════════════════╗
║ N O V A O S ║
║ kernel 7.0.12-nova-os ║
║ "Burn bright, run light." ║
║ systemd 260 · BusyBox 1.36.1 ║
╚══════════════════════════════════════════╝
Specifications
| Component | Version | Built From |
|---|---|---|
| Kernel | Linux 7.0.12 | kernel.org source |
| Init system | systemd 260.2 | github.com/systemd/systemd |
| Core utils | BusyBox 1.36.1 | busybox.net source |
| Shell | ash (BusyBox) | busybox.net source |
| Architecture | aarch64 (ARM64) | — |
| Target | Raspberry Pi 5 (BCM2712) | — |
| Image size | ~1.5 GB | — |
| Rootfs size | ~56 MB | — |
What Makes This Different
- Zero Debian binaries — systemd, BusyBox, and the kernel are all compiled from upstream source
- systemd 260 — latest stable, configured with meson/ninja, minimal feature set
- BusyBox 1.36.1 — static binary providing all Unix utilities (ash shell, coreutils, networking, etc.)
- 56 MB rootfs — just the essentials: init, shell, networkd, resolved
- Runtime libraries — glibc, libcrypto, zlib, zstd from host toolchain (full LFS bootstrap coming in v4.0)
Build from Source
# Prerequisites
sudo apt-get install meson ninja-build gcc gperf gettext python3-jinja2
# 1. Build the kernel (45 min on Pi 5)
make kernel
# 2. Build systemd
make systemd
# 3. Build BusyBox
make busybox
# 4. Assemble rootfs + image
make image
Or just make all for the full pipeline.
Flash to SD Card
sudo dd if=nova-os-3.0-from-source.img of=/dev/mmcblk0 bs=4M status=progress
Directory Layout
nova-os/
├── Makefile # Build system
├── mkimage.sh # Image packager
├── boot/ # Pi boot partition files
│ ├── config.txt # Bootloader config
│ └── cmdline.txt # Kernel command line
├── rootfs-custom/ # Built root filesystem (~56 MB)
│ ├── sbin/init → /usr/lib/systemd/systemd
│ ├── bin/busybox # Static BusyBox binary
│ ├── lib/ # Runtime libraries
│ ├── usr/lib/systemd/ # systemd binaries
│ └── etc/ # System configuration
└── build/ # Build artifacts
├── linux-7.0.12/ # Kernel source + build
├── systemd-260.2/ # systemd source + build
└── busybox-1.36.1/ # BusyBox source + build
License
Nova OS inherits the GPLv2 license from the Linux kernel. systemd is LGPLv2.1+. BusyBox is GPLv2.
Languages
Shell
86.3%
Makefile
13.7%