mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 21:29:59 -05:00
The chroot hook only ran `npm install`, leaving /opt/wrolpi/app/build/ missing. wrolpi-app.service runs `serve build -l 3000 ...`, so it started fine but returned 404 for every path. RPi-OS / Debian installs handle this via repair.sh at first boot; we bake the build into the squashfs so the live image works offline immediately. The Controller's `is_primary_drive_mounted()` checks for /media/wrolpi/config/controller.yaml — without it the Controller renders its onboarding wizard and offers the persistence partition (sdb3, mounted at /mnt/persistence) as an unconfigured candidate, which would corrupt the running system if selected. Touch an empty controller.yaml after creating /media/wrolpi/config so the Controller treats the drive as configured. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| config | ||
| files | ||
| build.sh | ||