wrolpi/wrolpi-portable
Roland 0e6c44d5e9
Building the React app in chroot and signalling drive-ready to Controller.
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>
2026-05-22 20:22:12 -06:00
..
config Building the React app in chroot and signalling drive-ready to Controller. 2026-05-22 20:22:12 -06:00
files Renaming debian-live-usb/ to wrolpi-portable/ to match the product name. 2026-05-18 18:43:03 -06:00
build.sh Adding WROLPi Portable Phase 2: persistence partition + DB bootstrap. 2026-05-20 20:33:00 -06:00