build: add date-based release versioning script and remove hardcoded version

This commit is contained in:
Luxferre
2026-10-22 20:20:16 +03:00
parent 48aaacf04f
commit b12cd738af
9 changed files with 61 additions and 9 deletions
+1
View File
@@ -29,6 +29,7 @@ All cross-compilation scripts run inside rootless Docker (`alpine:3.24` `armv7`
- `./scripts/build-xlibre.sh` — Builds Xlibre `Xorg` and `libinput`/`fbdev` DDX drivers.
- `./scripts/build-bantam.sh` — Fetches and cross-compiles the `bantam` AI agent.
- `./scripts/generate-artwork.py` — Regenerates wallpapers, splashes, and icons from `artwork/icon-large.png`.
- `./scripts/version.sh [--print | target_rootfs]` — Computes the date-based release version (`<year-letter><MM><DD>` with `2026 = a`) and substitutes `@BANANARCHY_VERSION@` in `etc/os-release`, `etc/issue`, and `etc/motd` (invoked automatically during overlay application and image builds).
- `./chroot-shell.sh` — Opens an `armv7` container shell to manage packages in `rootfs/` (`pkg-add`, `pkg-del`, `pkg-search`).
- `./rebuild-image.sh <device> [--mkinitfs]` — Applies `overlay/rootfs/` + `prebuilt/` into `rootfs/` and produces flashable images in `images/`.
- `sudo ./flash-edl.sh [device]` — Flashes `lk2nd` and the system image over Qualcomm USB EDL (`05c6:9008`).