Scope check-rebuild.sh by target and refresh a1120 images

This commit is contained in:
Luxferre committed 2026-11-16 22:19:04 +02:00
1 parent edc8c5a6fc
commit 0030dc3910
6 files changed
+771 -638

No files matched your search

+3 -3
View File
@@ -130,13 +130,13 @@ bananarchy/
A fresh `git clone` contains everything required to produce a flashable image. Docker, Python 3, and network access are the only host requirements:
```bash
./scripts/check-rebuild.sh # optional offline preflight
./rebuild-image.sh nokia-argon # bootstraps rootfs/, then builds images/
./scripts/check-rebuild.sh [target] # optional offline preflight (all targets by default)
./rebuild-image.sh nokia-argon # bootstraps rootfs/, then builds images/
```
`rebuild-image.sh` performs the whole pipeline without manual preparation:
1. Runs `scripts/check-rebuild.sh` to validate shell and Python syntax, the package list, plugin artifacts, overlay sync, and the ignored local agent config.
1. Runs `scripts/check-rebuild.sh <target>` to validate shell and Python syntax, the package list, plugin artifacts, overlay sync, the ignored local agent config, and checks scoped to the requested device (passing no argument validates all targets).
2. Mirrors `prebuilt/` into `overlay/rootfs/` with `scripts/sync-prebuilt-overlay.sh` so the tracked overlay snapshot never drifts.
3. Creates a complete `armv7` rootfs from `scripts/rootfs-packages.txt` when `rootfs/` is missing or stale, using `scripts/bootstrap-rootfs.sh` (rootless Docker, Alpine `edge` and postmarketOS `v26.06` repositories, and the trusted keys in `keys/`).
4. Applies the overlay and prebuilt artifacts, regenerates the initramfs, and writes `images/bananarchy-<device>.img`.