Scope check-rebuild.sh by target and refresh a1120 images
This commit is contained in:
1 parent
edc8c5a6fc
commit
0030dc3910
6 files changed
+771
-638
No files matched your search
@@ -663,13 +663,13 @@ bananarchy-gps-time-sync.sh status # source, last fix, modem capabili
|
||||
A fresh `git clone` is enough to produce a flashable image. Docker, Python 3, and network access are the only host requirements; no pre-existing `rootfs/`, `images/`, or EDL checkout is needed.
|
||||
|
||||
```bash
|
||||
./scripts/check-rebuild.sh # optional offline preflight
|
||||
./rebuild-image.sh nokia-argon # builds images/bananarchy-nokia-argon.img
|
||||
./scripts/check-rebuild.sh [target] # optional offline preflight (all targets by default)
|
||||
./rebuild-image.sh nokia-argon # builds images/bananarchy-nokia-argon.img
|
||||
```
|
||||
|
||||
`rebuild-image.sh` runs the following steps automatically:
|
||||
|
||||
1. Verifies shell and Python syntax, the `armv7` package list, plugin artifacts, overlay sync, and the ignored local agent config (`scripts/check-rebuild.sh`).
|
||||
1. Verifies shell and Python syntax, the `armv7` package list, plugin artifacts, overlay sync, the ignored local agent config, and target-scoped invariants (`scripts/check-rebuild.sh <target>`; running `scripts/check-rebuild.sh` with no arguments validates all targets).
|
||||
2. Mirrors `prebuilt/` into `overlay/rootfs/` (`scripts/sync-prebuilt-overlay.sh`).
|
||||
3. Creates a complete `armv7` rootfs from `scripts/rootfs-packages.txt` when `rootfs/` is missing or stale (`scripts/bootstrap-rootfs.sh`), including system accounts, OpenRC runlevels, base configuration, the overlay, and prebuilt kernel modules.
|
||||
4. Applies the overlay, regenerates the initramfs with `mkinitfs`, and assembles the partitioned MBR image in `images/`.
|
||||
|
||||
Reference in new issue
Block a user