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.1 KiB
Bash
Executable File
35 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
# ============================================================================
|
|
# DarkForge Linux — Phase 0, Chapter 7: Gettext (Chroot)
|
|
# ============================================================================
|
|
# Purpose: Build gettext (internationalization framework). Many packages
|
|
# require gettext's autopoint, msgfmt, etc. during their build.
|
|
# Only the minimum needed tools are installed at this stage.
|
|
# Inputs: /sources/gettext-0.23.1.tar.xz
|
|
# Outputs: gettext utilities in /usr/
|
|
# Assumes: Running inside chroot
|
|
# Ref: LFS 13.0 §7.7
|
|
# ============================================================================
|
|
|
|
set -euo pipefail
|
|
|
|
PACKAGE="gettext"
|
|
VERSION="0.23.1"
|
|
|
|
echo "=== Building ${PACKAGE}-${VERSION} (Chroot) ==="
|
|
|
|
cd /sources
|
|
tar -xf "${PACKAGE}-${VERSION}.tar.xz"
|
|
cd "${PACKAGE}-${VERSION}"
|
|
|
|
./configure --disable-shared
|
|
|
|
make
|
|
|
|
# Only install the minimum needed programs
|
|
cp -v gettext-tools/src/{msgfmt,msgmerge,xgettext} /usr/bin
|
|
|
|
cd /sources
|
|
rm -rf "${PACKAGE}-${VERSION}"
|
|
echo "=== ${PACKAGE}-${VERSION} complete ==="
|