Staged installer set for Alpine Linux x86-64 (tinkerpad/ThinkPad T480). Covers Base (Tier 0), Minimal (Tier 1), and Basic (Tier 2) tiers with full phased structure, per-package error capture, and re-runnable test suites. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
1.2 KiB
Bash
30 lines
1.2 KiB
Bash
#!/usr/bin/env bash
|
|
# Created by John A. Hoeven with the ethical assistance of Claude AI
|
|
# ---------------------------------------------------------------------------
|
|
# 10_record.sh
|
|
# ~/projects/ceos/alpine-installer/lib/minimal/10_record.sh
|
|
# Version: v0.0.1 | Status: DEVELOPMENT
|
|
# Target: Alpine Linux x86-64 (tinkerpad / ThinkPad T480)
|
|
# ---------------------------------------------------------------------------
|
|
# Minimal Tier subscript: recording and screenshot — asciinema, fbgrab.
|
|
# Defines install_minimal_record().
|
|
# ---------------------------------------------------------------------------
|
|
|
|
install_minimal_record() {
|
|
log_info "--- minimal/10_record: recording and screenshot ---"
|
|
local -a PKGS=(asciinema fbgrab)
|
|
for pkg in "${PKGS[@]}"; do
|
|
install_pkg "${pkg}"
|
|
done
|
|
run_test "asciinema present" 'command -v asciinema >/dev/null 2>&1' warn
|
|
run_test "fbgrab present" 'command -v fbgrab >/dev/null 2>&1' warn
|
|
}
|
|
|
|
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
|
SCRIPT_NAME="10_record"
|
|
source "${SCRIPT_DIR}/lib/ce-common.sh" || { echo "ERROR: ce-common.sh not found"; exit 1; }
|
|
check_not_root
|
|
install_minimal_record
|
|
print_summary
|
|
fi
|