package-image: version release ZIP from latest git commit

This commit is contained in:
Luxferre committed 2026-11-28 11:36:56 +02:00
1 parent fff3622001
commit f44f1bb588
4 files changed
+95 -14

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ Create a self-contained ZIP archive under `releases/` containing the images, `SH
./package-image.sh # or ./rebuild-image.sh --package
```
By default, [scripts/package-release-zip.py](scripts/package-release-zip.py) stages a copy of `geminux-rootfs.img`, strips SSH host/authorized keys while keeping `/lib/firmware/mediatek/mt6797/` blobs (`--include-firmware` default), verifies `e2fsck -fn` and ZIP CRCs, and writes `<archive>.zip.sha256` (`--strip-firmware` omits proprietary blobs for clean redistribution; `--keep-ssh-keys` keeps SSH keys).
By default, [scripts/package-release-zip.py](scripts/package-release-zip.py) versions the archive from the latest git commit (`<YYYYMMDD>-<shortsha>`, overridable with `--version` or `GEMINUX_VERSION`), stages a copy of `geminux-rootfs.img`, strips SSH host/authorized keys while keeping `/lib/firmware/mediatek/mt6797/` blobs (`--include-firmware` default), verifies `e2fsck -fn` and ZIP CRCs, and writes `<archive>.zip.sha256` (`--strip-firmware` omits proprietary blobs for clean redistribution; `--keep-ssh-keys` keeps SSH keys).
## Flashing to the Gemini PDA