Complete from-scratch Linux distribution targeting AMD Ryzen 9 9950X3D + NVIDIA RTX 5090 on ASUS ROG CROSSHAIR X870E HERO. Deliverables: - dpack: custom package manager in Rust (3,800 lines) - TOML package parser, dependency resolver, build sandbox - CRUX Pkgfile and Gentoo ebuild converters - Shared library conflict detection - 124 package definitions across 4 repos (core/extra/desktop/gaming) - 34 toolchain bootstrap scripts (LFS 13.0 adapted for Zen 5) - Linux 6.19.8 kernel config (hardware-specific, fully commented) - SysVinit init system with rc.d service scripts - Live ISO builder (UEFI-only, squashfs+xorriso) - Interactive installer (GPT partitioning, EFISTUB boot) - Integration test checklist (docs/TESTING.md) No systemd. No bootloader. No display manager. Kernel boots via EFISTUB → auto-login → dwl Wayland compositor. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
35 lines
1.2 KiB
Bash
Executable File
35 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
# ============================================================================
|
|
# DarkForge Linux — PipeWire service
|
|
# ============================================================================
|
|
# PipeWire audio server + WirePlumber session manager.
|
|
# NOTE: PipeWire is designed to run as a user service, not system-wide.
|
|
# This script starts it for the auto-login user (danny) on tty1.
|
|
# For the system-level boot, we just ensure the prerequisites are ready.
|
|
# The actual PipeWire startup is handled in the user's shell profile.
|
|
# ============================================================================
|
|
|
|
case "$1" in
|
|
start)
|
|
echo " PipeWire: ready (will start with user session)"
|
|
# Ensure runtime directory exists for the user
|
|
mkdir -p /run/user/1000
|
|
chown danny:danny /run/user/1000
|
|
chmod 700 /run/user/1000
|
|
;;
|
|
stop)
|
|
echo " Stopping PipeWire..."
|
|
killall pipewire wireplumber pipewire-pulse 2>/dev/null
|
|
echo " PipeWire stopped"
|
|
;;
|
|
restart)
|
|
$0 stop
|
|
sleep 1
|
|
$0 start
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {start|stop|restart}"
|
|
exit 1
|
|
;;
|
|
esac
|