mirror of
https://github.com/blazblue547-afk/aero3.git
synced 2026-12-02 14:24:17 -05:00
106 lines
5.0 KiB
Markdown
106 lines
5.0 KiB
Markdown
# AeroOS
|
||||
|
|
|
|||
|
|
A **from-scratch** 64-bit (x86-64 / amd64) Linux operating system for desktops and
|
|||
|
|
laptops. AeroOS is **not** based on any existing Linux distribution — it is built
|
|||
|
|
from upstream source tarballs using the [Linux From Scratch](https://www.linuxfromscratch.org/)
|
|||
|
|
methodology (cross-toolchain → temporary tools → chroot → final system → kernel →
|
|||
|
|
bootable image).
|
|||
|
|
|
|||
|
|
It ships a custom Wayland desktop with:
|
|||
|
|
|
|||
|
|
- **Frutiger Aero** default wallpaper (glossy glass, water, nature, lens-flare era aesthetic)
|
|||
|
|
- **Glassmorphism UI** — a custom `wlroots`-based compositor (`aerowm`) with real
|
|||
|
|
Gaussian background blur + translucency, plus a glassmorphic GTK theme.
|
|||
|
|
- **Subtle lofi** that plays automatically on the home screen / login.
|
|||
|
|
|
|||
|
|
## Core stack
|
|||
|
|
|
|||
|
|
| Layer | Choice |
|
|||
|
|
|------------------|-------------------------------------------|
|
|||
|
|
| Architecture | x86-64 (amd64), 64-bit |
|
|||
|
|
| Kernel | Linux 7.1 (latest stable) |
|
|||
|
|
| C library | glibc |
|
|||
|
|
| Toolchain | GCC + Binutils (cross-compiled) |
|
|||
|
|
| Init / services | systemd |
|
|||
|
|
| Bootloader | GRUB 2 (UEFI + BIOS) |
|
|||
|
|
| Display server | Wayland |
|
|||
|
|
| Compositor | `aerowm` (custom, wlroots-based, w/ blur) |
|
|||
|
|
| Audio | PipeWire |
|
|||
|
|
| Toolkit / theme | GTK 4 + custom glassmorphism CSS |
|
|||
|
|
|
|||
|
|
## Quick start
|
|||
|
|
|
|||
|
|
> ⚠️ This performs a **full source build**. It needs a Linux host (Debian/Fedora/Arch/
|
|||
|
|
> WSL2 all fine), ~30–60 GB free disk, and **several hours** of CPU time. It does
|
|||
|
|
> **not** modify your host system outside `$AEROS_ROOT` (default `./build`).
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
# 1. Read & adjust configuration (versions, parallelism, target disk size)
|
|||
|
|
$EDITOR config/aeros.conf
|
|||
|
|
|
|||
|
|
# 2. Check host has the required tools
|
|||
|
|
./build.sh check
|
|||
|
|
|
|||
|
|
# 3. Download all upstream sources (verifies sizes)
|
|||
|
|
./build.sh fetch
|
|||
|
|
|
|||
|
|
# 4. Run the full build (or run individual stages, see below)
|
|||
|
|
./build.sh all
|
|||
|
|
|
|||
|
|
# 5. Result: a bootable hybrid ISO
|
|||
|
|
ls -lh out/aeros-*.iso
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
Test it without touching real hardware:
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
./build.sh run-qemu # boots out/aeros-*.iso in QEMU with UEFI
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## Build stages
|
|||
|
|
|
|||
|
|
Each stage is idempotent and can be run on its own: `./build.sh stage 04`
|
|||
|
|
|
|||
|
|
| Stage | Script | What it does |
|
|||
|
|
|-------|---------------------------------|-----------------------------------------------------|
|
|||
|
|
| 00 | `scripts/00-prepare.sh` | Host sanity checks, dir layout, fetch sources |
|
|||
|
|
| 01 | `scripts/01-toolchain.sh` | Cross binutils/gcc/glibc/libstdc++ (LFS ch. 5) |
|
|||
|
|
| 02 | `scripts/02-temp-tools.sh` | Temporary tools in the new root (LFS ch. 6) |
|
|||
|
|
| 03 | `scripts/03-chroot-base.sh` | Final base system inside chroot (LFS ch. 7–8) |
|
|||
|
|
| 04 | `scripts/04-kernel.sh` | Configure + build Linux 7.1 |
|
|||
|
|
| 05 | `scripts/05-systemd-boot.sh` | systemd setup, GRUB, fstab, users |
|
|||
|
|
| 06 | `scripts/06-desktop.sh` | Wayland, wlroots, PipeWire, GTK4, `aerowm` |
|
|||
|
|
| 07 | `scripts/07-aero-theme.sh` | Frutiger Aero wallpaper, lofi service, glass theme |
|
|||
|
|
| 08 | `scripts/08-image.sh` | squashfs + initramfs + GRUB → hybrid bootable ISO |
|
|||
|
|
|
|||
|
|
## Layout
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
aero3/
|
|||
|
|
├── build.sh # orchestrator (check|fetch|stage NN|all|run-qemu|clean)
|
|||
|
|
├── config/
|
|||
|
|
│ ├── aeros.conf # build knobs (root dir, jobs, target, hostname…)
|
|||
|
|
│ ├── versions.sh # pinned upstream versions + URLs + sha256
|
|||
|
|
│ └── kernel/aeros.config # Linux .config fragment/defaults
|
|||
|
|
├── scripts/ # the 9 ordered build stages + lib/common.sh
|
|||
|
|
├── packages/recipes/ # declarative per-package build recipes
|
|||
|
|
├── desktop/
|
|||
|
|
│ ├── aerowm/ # custom wlroots compositor (C) with blur
|
|||
|
|
│ ├── aero-session/ # session + autostart (lofi, wallpaper)
|
|||
|
|
│ └── aero-lofi/ # lofi playback service
|
|||
|
|
├── assets/
|
|||
|
|
│ ├── wallpaper/ # Frutiger Aero wallpaper (SVG → PNG)
|
|||
|
|
│ ├── lofi/ # generated subtle lofi loop
|
|||
|
|
│ └── theme/ # glassmorphism GTK4 CSS + GTK theme
|
|||
|
|
└── out/ # build artifacts (ISO) — gitignored
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## Legal / honesty note
|
|||
|
|
|
|||
|
|
- "From scratch" means no distro base (no Debian/Arch/etc. rootfs). It still
|
|||
|
|
compiles **upstream open-source projects** (the kernel, glibc, GCC, wlroots…),
|
|||
|
|
which is exactly what LFS does — you cannot hand-write a kernel.
|
|||
|
|
- A complete first build takes hours and will surface package-specific issues that
|
|||
|
|
need iteration; this repo is the real, runnable build system, not a magic button.
|
|||
|
|
|
|||
|
|
See `docs/` for the design of the glassmorphism compositor and the Aero theme.
|