SmartestHome/hosts/thin-client/live-build/config/hooks/normal
Amir Alexander Abdelbaki bbeabde97e Give every config array entry its own image, and build arm64 audio once
Follow-up to the tools/ build system: the kiosk and amd64 audio-endpoint
builders left their ISO in the live-build tree under live-build's fixed
filename, and never moved it to build-output/. Configure two thin clients and
build-all would build both into the same path — the second silently overwriting
the first, leaving one ISO carrying the second room's hostname and no sign the
first was ever produced.

core_publish_image() now moves each finished image to
build-output/smarthome-<hostname>-<pairid>.iso, so one array entry produces one
artifact. Verified: two thin clients now yield two distinct ISOs, and the
per-type builders still refuse with the real list when the hostname is omitted
or wrong.

The arm64 audio endpoint is the deliberate exception and is now handled as one:
Pi Imager sets hostname/Wi-Fi per unit at flash time, so a single generic .img
serves every room and build-all builds it once regardless of how many arm64
entries are listed. amd64 has no equivalent for a generic x86 ISO, so it bakes
the hostname in and does need one per room (project-plan Phase 15.5).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 13:25:38 +02:00
..
0100-user-setup.hook.chroot Add Phase 11 thin-client ISO and Phase 12 quarter-daily LLM digest 2026-07-28 15:33:40 +02:00
0200-greetd.hook.chroot Add Phase 11 thin-client ISO and Phase 12 quarter-daily LLM digest 2026-07-28 15:33:40 +02:00
0300-wayvnc.hook.chroot Add Phase 11 thin-client ISO and Phase 12 quarter-daily LLM digest 2026-07-28 15:33:40 +02:00
0400-flatpak-steamlink.hook.chroot Add Phase 11 thin-client ISO and Phase 12 quarter-daily LLM digest 2026-07-28 15:33:40 +02:00
0500-spotify-connect.hook.chroot Add Phase 11 thin-client ISO and Phase 12 quarter-daily LLM digest 2026-07-28 15:33:40 +02:00
0600-voice-satellite.hook.chroot Add Phase 11 thin-client ISO and Phase 12 quarter-daily LLM digest 2026-07-28 15:33:40 +02:00
0700-thinclient-agent.hook.chroot Add Phase 11 thin-client ISO and Phase 12 quarter-daily LLM digest 2026-07-28 15:33:40 +02:00
0800-eww-widget.hook.chroot Give every config array entry its own image, and build arm64 audio once 2026-07-31 13:25:38 +02:00
0900-firefox.hook.chroot Give every config array entry its own image, and build arm64 audio once 2026-07-31 13:25:38 +02:00
1000-ydotool.hook.chroot Give every config array entry its own image, and build arm64 audio once 2026-07-31 13:25:38 +02:00
1100-gesture-control.hook.chroot Add Phase 11 thin-client ISO and Phase 12 quarter-daily LLM digest 2026-07-28 15:33:40 +02:00