Make clean-clone OS rebuilds autonomous

A fresh clone can now bootstrap a complete armv7 rootfs, apply the Bananarchy overlay, regenerate boot artifacts, and produce a flashable image without local build artifacts.

- Add a shared package list and Docker-based rootfs bootstrap, wired into rebuild-image.sh and chroot-shell.sh.
- Add offline rebuild preflight checks and prebuilt-to-overlay artifact synchronization.
- Vendor the patched EDL client and provision host flashing dependencies.
- Remove the hardcoded credential from the power menu helper.
- Refresh documentation and changelog for the autonomous workflow.
This commit is contained in:
Luxferre committed 2026-11-05 13:40:53 +02:00
1 parent a9b72700ac
commit 0ab9367e28
31 files changed
+3809 -181

No files matched your search

+8 -3
View File
@@ -4,12 +4,14 @@ set -eu
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
if [ -n "${ROOTFS_DIR:-}" ]; then
ROOTFS_HOST="$(realpath "$ROOTFS_DIR")"
ROOTFS_PATH="$ROOTFS_DIR"
elif [ -d "$SCRIPT_DIR/rootfs-sxmo" ]; then
ROOTFS_HOST="$(realpath "$SCRIPT_DIR/rootfs-sxmo")"
ROOTFS_PATH="$SCRIPT_DIR/rootfs-sxmo"
else
ROOTFS_HOST="$(realpath "$SCRIPT_DIR/rootfs")"
ROOTFS_PATH="$SCRIPT_DIR/rootfs"
fi
mkdir -p "$ROOTFS_PATH"
ROOTFS_HOST="$(realpath "$ROOTFS_PATH")"
BANANARCHY_DIR="$SCRIPT_DIR"
if [ "${1:-}" = "sxmo" ]; then
@@ -20,6 +22,9 @@ if [ "$#" -eq 0 ]; then
set -- /bin/sh
fi
# Ensure the armv7 rootfs exists and is complete before opening a shell.
"$BANANARCHY_DIR/scripts/bootstrap-rootfs.sh" "$ROOTFS_HOST"
exec docker run --rm -it --network=host \
-e HOST_UID="$(id -u)" \
-e HOST_GID="$(id -g)" \