mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Build pipeline now produces a working bootable image. Found and fixed 11 gaps between the manually-built working SD and build-all.sh output: Boot partition: - extlinux.conf as primary boot method (U-Boot loads first) - PanCho removed from boot.ini and build-image.sh - Stale uInitrd removed (caused wrong boot path) - logo.bmp (U-Boot native BMP) replaces broken splash-1.raw - fstab uses LABEL=ROMS instead of /dev/mmcblk1p3 - Only R36S DTB copied (no extra r35s/rg351mp-linux) Root filesystem: - emulationstation.service created and enabled - getty@tty1 disabled (ES takes over tty1) - archr-boot-setup: Before=emulationstation.service, simplified - All services use After=local-fs.target (not removed getty) - boot-timing captures ES profiling data New files added to repo: - build-mesa.sh, build-retroarch.sh (were untracked) - Custom DTS, ALSA config, controller autoconfig - Runtime scripts (retroarch-launch, pmic-poweroff, hotkeys) - VLC stub source, timezone data Repo cleanup: - README.md rewritten with build instructions + architecture - .gitignore expanded (test scripts, failed approaches, logs) - splash-show.sh removed (failed splash approach) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
916 B
Bash
28 lines
916 B
Bash
#!/bin/bash
|
|
#==============================================================================
|
|
# Arch R — Timezone helper for EmulationStation-fcamod
|
|
# Replaces dArkOS /usr/local/bin/timezones
|
|
#==============================================================================
|
|
|
|
case "$1" in
|
|
current)
|
|
# Return current timezone from /etc/localtime symlink
|
|
if [ -L /etc/localtime ]; then
|
|
readlink /etc/localtime | sed 's|.*/zoneinfo/||'
|
|
else
|
|
echo "UTC"
|
|
fi
|
|
;;
|
|
available)
|
|
# Return comma-separated list of available timezones
|
|
# ES-fcamod expects: "Zone1,Zone2,Zone3"
|
|
timedatectl list-timezones 2>/dev/null | tr '\n' ',' | sed 's/,$//'
|
|
;;
|
|
setrepo)
|
|
# No-op on Arch R (dArkOS uses this to set repo timezone for updates)
|
|
;;
|
|
*)
|
|
echo "Usage: timezones {current|available|setrepo}"
|
|
;;
|
|
esac
|