From 88bbe040e5dd97f4580231cb0ce3d797c109d160 Mon Sep 17 00:00:00 2001 From: Mitchell R Date: Thu, 21 May 2026 10:23:02 +0200 Subject: [PATCH] feat(image): enable kiosk-app OTA by default in pi-gen build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BF_ENABLE_APP_OTA gates the periodic firmware check in ui.rs:449. Our curated image is the place where it should be on — operator can flip to 0 in /etc/default/betterframe-kiosk to pin a specific build. Without this, a fresh image never picked up new dev releases even when the auto-import secrets were configured. --- .../01-install-kiosk/01-run-chroot.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy/pi-gen/stage-betterframe-client/01-install-kiosk/01-run-chroot.sh b/deploy/pi-gen/stage-betterframe-client/01-install-kiosk/01-run-chroot.sh index 2fbd7e6..e1c066b 100755 --- a/deploy/pi-gen/stage-betterframe-client/01-install-kiosk/01-run-chroot.sh +++ b/deploy/pi-gen/stage-betterframe-client/01-install-kiosk/01-run-chroot.sh @@ -37,6 +37,11 @@ cat > /etc/default/betterframe-kiosk <<'EOF' # Override the BF server discovery (default tries localhost → betterframe.local # → frame-eu.betterportal.net): # BETTERFRAME_SERVER=https://frame.example.com + +# Enable kiosk-app OTA. This image is curated and signed by us — fresh dev +# builds auto-deploy once they land in the BF server (via the build workflow's +# auto-import step). Set to 0 to pin a kiosk to its current binary. +BF_ENABLE_APP_OTA=1 EOF # Plymouth boot splash