mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-30 11:56:18 -05:00
persistence.conf was writing `union,source=...` entries. On the first boot that did not matter because the bootstrap performed a real `mount --bind` itself; from the second boot onward, however, live-boot's initramfs reads persistence.conf and applies the entries as OverlayFS union mounts. PostgreSQL does not support OverlayFS — switching to `bind,source=...` makes the in-band mount and the initramfs mount match and avoids potential data corruption. The bootstrap script hardcoded Postgres version 15 (cluster check, create, service-start), inconsistent with the chroot hook which already derives it dynamically. Switched to discovery via `/usr/lib/postgresql/<ver>` so a postgresql-16 bump no longer requires touching this script. The tippecanoe source tarball was the only externally-fetched artifact in the chroot hook without a SHA256 pin. Added one (computed from upstream v2.79.0). `RequiresMountsFor` covered only `/usr/lib/live/mount/medium`; live-boot on newer releases mounts at `/run/live/medium`. Listed all three paths the bootstrap script itself searches so systemd orders the unit after whichever mount actually exists. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| config | ||
| files | ||
| build.sh | ||