Harden prepare-release.sh beatles boot validation and archive creation
- Normalize target aliases and decouple boot-lk2nd-nokia-beatles-display.img rebuilds from rebuild-image.sh so a missing lk2nd image does not rebuild the verified raw image - Run check-beatles-bootimg.py, sync-beatles-bootfs.py --check, and display_lk2nd_is_current before archiving nokia-beatles - Remove pre-existing release directories and .zip files before packing both boot-bananarchy-nokia-beatles.img and boot-lk2nd-nokia-beatles-display.img, and guard in check-rebuild.sh
This commit is contained in:
1 parent
83c8db10f1
commit
9fc82fb7d8
3 files changed
+39
-8
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ This build contains all previously unreleased 2720 Flip (`nokia-beatles`) change
|
||||
|
||||
- **Audit findings**: auditing every change since `a1108` (`8448b6465f7f`) showed that `dwm` already isolates flip vs slider behaviour through `/usr/share/bananarchy/lid-profile` (`is_flip_profile()`), keeping exposed top-row keypad input, 60 ms `SW_LID` close locking (`HANGUP_CLOSE` + `locker screenoff`), and `SW_LID=0` / `SW_KEYPAD_SLIDE=1` wake-to-lockscreen identical to `a1108` when `lid-profile` is `slider`. However, `overlay/rootfs/usr/share/bananarchy/lid-profile` was hardcoded to `flip`, `etc/runlevels/default/bananarchy-{lid,cover-display,volume-keys}` and mux `modules-load.d` entries were left enabled on non-flip builds, `bananarchy-x11-session.sh` sent `Escape` 3 s after boot even when `/tmp/bananarchy_screen_locked` was set (which blanks an active `xlocker` on `nokia-argon`), and `bananarchy-display-power-sync`, `locker.so`, and `callscreen.so` checked `/run/bananarchy/lid-state` without checking `lid-profile`.
|
||||
- **Switch**: `scripts/apply-bananarchy-overlay.sh` now writes `/usr/share/bananarchy/lid-profile` per target (`slider` on `nokia-argon`, `flip` on `nokia-beatles`, `none` on `nokia-tough`/`nokia-sparkler`/`nokia-leo`), removes stale top-level `/boot/qcom-*.dtb` files when switching targets, and strips `etc/runlevels/default/bananarchy-{lid,cover-display,volume-keys}`, `72-nokia-beatles-cover.rules`, `cover-display.conf`, and `spidev`/`mux-*`/`spi-mux` module loads on non-flip targets. `10-bananarchy-hardware.start`, the `bananarchy-lid` / `bananarchy-volume-keys` / `bananarchy-cover-display` init scripts, and the compiled `bananarchy-lid`, `bananarchy-volume-keys`, and `bananarchy-cover-idle` C daemons (`is_non_flip_profile()`) exit `0` immediately on `slider`/`none` profiles. `bananarchy-x11-session.sh` skips its 3 s stale-grab `Escape` cleanup while `/tmp/bananarchy_screen_locked` exists, `bananarchy-display-power-sync` fast-paths non-flip devices to pure single-panel DPMS + `schedutil` sync, and `locker.so` / `callscreen.so` gate `/run/bananarchy/lid-state` checks on `lid-profile == "flip"`.
|
||||
- **Image persistence**: rebuilt both `images/bananarchy-nokia-argon.img` (SHA-256 `a93f0dc5a87d30b9084fcc8df97c78e7496ca1564e4855efe12e4696387a7d4d`) and `images/bananarchy-nokia-beatles.img` (SHA-256 `7e1a24270e25beedcbc92b3fc8b7f2b314e3c7a9bf7a8e2dbffae1754d1b74c7`, with standalone `images/boot-bananarchy-nokia-beatles.img` SHA-256 `4b190404e8e9b53955a87ff211e0f706e51d08e4df11689cfa5586422e65763d` and unchanged display lk2nd `b5549698c20f4de7603fc746d32bb5baa96ec377e41e74407823c98506fc185d`) at `a1111` / `lennon` with `--mkinitfs`, pinned in `scripts/check-rebuild.sh`. `e2fsck -fn` and `debugfs` verified both partitions of both images (`lid-profile = slider` with zero flip services/rules/configs on `nokia-argon`; `lid-profile = flip` with full cover/lid stack on `nokia-beatles`).
|
||||
- **Image persistence and release packaging**: rebuilt both `images/bananarchy-nokia-argon.img` (SHA-256 `a93f0dc5a87d30b9084fcc8df97c78e7496ca1564e4855efe12e4696387a7d4d`) and `images/bananarchy-nokia-beatles.img` (SHA-256 `7e1a24270e25beedcbc92b3fc8b7f2b314e3c7a9bf7a8e2dbffae1754d1b74c7`, with standalone `images/boot-bananarchy-nokia-beatles.img` SHA-256 `4b190404e8e9b53955a87ff211e0f706e51d08e4df11689cfa5586422e65763d` and unchanged display lk2nd `b5549698c20f4de7603fc746d32bb5baa96ec377e41e74407823c98506fc185d`) at `a1111` / `lennon` with `--mkinitfs`, pinned in `scripts/check-rebuild.sh`. `e2fsck -fn` and `debugfs` verified both partitions of both images (`lid-profile = slider` with zero flip services/rules/configs on `nokia-argon`; `lid-profile = flip` with full cover/lid stack on `nokia-beatles`). `prepare-release.sh` now normalizes target aliases, decouples `boot-lk2nd-nokia-beatles-display.img` rebuilds from `rebuild-image.sh`, validates `check-beatles-bootimg.py` and `sync-beatles-bootfs.py --check` before zipping, and removes stale `${RELDIR}.zip` archives before packing both `boot-bananarchy-nokia-beatles.img` and `boot-lk2nd-nokia-beatles-display.img`.
|
||||
|
||||
### Active-high shared cover backlight, active-black internal isolation and shared blank timeout
|
||||
|
||||
|
||||
Reference in new issue
Block a user