Dorian 2517379ac3 chore: Debian 12 → 13 (Trixie) migration, service hardening
- Update all references from Debian 12 (Bookworm) to Debian 13 (Trixie)
- Enable SystemCallArchitectures, RestrictAddressFamilies, RestrictRealtime
  in archipelago.service (safe on systemd 256+ which respects NoNewPrivileges=no)
- Update GLIBC compatibility checks from 2.36 to 2.40
- ISO filename, build container, and docs updated throughout

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 21:32:08 +02:00
..
2026-01-24 22:59:20 +00:00

Build Scripts

Helper scripts for building Archipelago OS images.

Scripts

build-backend.sh

Compiles the Archipelago Rust backend binary.

  • Output: ../build/backend/archipelago
  • Requires: Rust toolchain (or Docker)
  • Builds for Linux x86_64

build-frontend.sh

Builds the Vue.js frontend for production.

  • Output: ../build/frontend/
  • Requires: Node.js 18+, npm
  • Builds static files for serving

convert-iso-to-disk.sh

Converts ISO image to raw disk image.

  • Input: ISO file
  • Output: .img file ready for dd
  • Creates partition layout (EFI + root)

check-dependencies.sh

Checks if all build dependencies are available.

  • Checks: Rust, Node.js, Docker, xorriso
  • Provides installation instructions
  • Non-blocking (warns but continues)

install-podman.sh

Installs Podman container runtime.

  • For use inside the target system
  • Configures rootless Podman

Usage

These scripts are called automatically by the main build process. You can also run them manually for testing:

# Build just the backend
./scripts/build-backend.sh

# Build just the frontend
./scripts/build-frontend.sh

# Check dependencies
./scripts/check-dependencies.sh