Skip to content

fix: get the image build green again - #6

Merged
madeofpendletonwool merged 1 commit into
mainfrom
fix/image-build
Oct 15, 2026
Merged

madeofpendletonwool merged 1 commit into
mainfrom
fix/image-build

Conversation

@madeofpendletonwool

Copy link
Copy Markdown
Owner

Image builds have failed on every PR since #1. Three separate causes:

  1. Smoke test (since feat: boxd — config, box bridge, setup and offline screens #1): the kiosk user-unit check used test -e on absolute symlinks (/usr/lib/systemd/user/...), which resolve on the CI host rather than inside the mounted image. Now test -L; the target is still checked inside the image.
  2. Stages 06–08 never ran (since feat: read-only root and /data partition #3): 06-readonly-root, 07-watchdog, 08-cec 00-run.sh were committed as 100644, and pi-gen skips non-executable run scripts (Skip .../00-run.sh (not executable)), so the read-only root, watchdog and CEC setup were missing from the image.
  3. apt failure (since feat: box watchdogs and self-healing #4): libraspberrypi-bin has no installation candidate on Trixie; replaced by raspi-utils-core, which ships vcgencmd.

Part of MAD-797.

🤖 Generated with Claude Code

- Mark 06-readonly-root, 07-watchdog and 08-cec run scripts executable;
  pi-gen silently skips non-executable 00-run.sh, so none of those
  stages were applied.
- Install raspi-utils-core instead of libraspberrypi-bin, which no
  longer exists on Trixie (raspi-utils-core ships vcgencmd).
- Smoke test: check the kiosk user-unit links with -L. They are
  absolute, so -e followed them on the CI host instead of the image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@madeofpendletonwool
madeofpendletonwool merged commit 86853d0 into main Oct 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant