fix(eye-square): rules drift — drop right_panel, install kiosk (closes #202) (#206)

In debian/rules override_dh_auto_install:

* Drop the install block for right_panel/secubox_eye_square_right_panel/.
  That directory has never existed on disk; it was scaffolded into the
  rules during Phase 2 (PySide6 dual-pane design) but the component was
  dropped during the Phase 3 rewrite to Pillow+framebuffer.

* Add an install block for kiosk/secubox_eye_square_kiosk/, which is
  the Phase 3 framebuffer kiosk payload and already exists on disk
  (but was never being installed).

Bump 1.0.1 → 1.0.2.

Local build now progresses through the override successfully and the
kiosk module lands in the staging tree at
usr/lib/python3/dist-packages/secubox_eye_square_kiosk/. Build still
fails later in dh_usrlocal due to a separate pre-existing Debian
policy violation (firstboot.sh shipped under /usr/local/sbin/, which
is reserved for the local admin) — out of scope for this fix and
filed as a follow-up issue.

Co-authored-by: CyberMind-FR <gandalf@Gk2.net>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
CyberMind 2026-05-19 06:44:17 +02:00 committed by GitHub
parent edb3ce79b2
commit 8d1f733827
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,15 @@
secubox-eye-square (1.0.2-1~bookworm1) bookworm; urgency=medium
* Fix debian/rules content drift: drop the install block for
right_panel/secubox_eye_square_right_panel/ (a PySide6 component
anticipated in Phase 2 but dropped during the Phase 3 rewrite
to Pillow+framebuffer; the directory has never existed on disk).
Add an install block for kiosk/secubox_eye_square_kiosk/ which
DOES exist and is the actual Phase 3 framebuffer kiosk payload.
* Closes #202.
-- Gerald KERMA <devel@cybermind.fr> Tue, 19 May 2026 06:45:00 +0200
secubox-eye-square (1.0.1-1~bookworm1) bookworm; urgency=medium
* Switch Architecture: arm64 → all. The package is pure-Python

View File

@ -6,8 +6,8 @@ override_dh_auto_install:
# Helper package
mkdir -p debian/secubox-eye-square/usr/lib/python3/dist-packages/eye_square_helper
cp -r helper/eye_square_helper/. debian/secubox-eye-square/usr/lib/python3/dist-packages/eye_square_helper/
# Right-panel package
mkdir -p debian/secubox-eye-square/usr/lib/python3/dist-packages/secubox_eye_square_right_panel
cp -r right_panel/secubox_eye_square_right_panel/. debian/secubox-eye-square/usr/lib/python3/dist-packages/secubox_eye_square_right_panel/
# Kiosk package (replaced the Phase 2 PySide6 right_panel during Phase 3 rewrite)
mkdir -p debian/secubox-eye-square/usr/lib/python3/dist-packages/secubox_eye_square_kiosk
cp -r kiosk/secubox_eye_square_kiosk/. debian/secubox-eye-square/usr/lib/python3/dist-packages/secubox_eye_square_kiosk/
# Config files (systemd units, nginx site, etc) from the sibling remote-ui/square/files/
cp -r ../../remote-ui/square/files/. debian/secubox-eye-square/