mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 18:45:53 +00:00
5c13befcac
The installer staged the download in /tmp and installed the runtime binary to /usr/local/bin, both on the small RAM-backed QTS/QuTS hero root, and the boot wrapper copied 34MiB back onto that root at every boot. Roots without ~50MiB of headroom could not install at all, and setting TMPDIR only moved the staging half of the requirement. QNAP's own QPKG packages execute from the data volume, so do the same: relocate the install dir to the data volume's state dir before the preflight and download, default TMPDIR there too, skip the boot-time self-copy when the stored and runtime binaries are one file, and remove a pre-relocation runtime copy from /usr/local/bin to give that space back. Split layouts with an operator-supplied state dir keep the copy semantics. The rendered wrapper is exercised in both layouts by the installer tests. Refs #1617 Contract-Neutral: Refs #1617: QNAP installer layout fix with its deployment-installability contract clause staged in this commit; residual proof policies for unrelated boundaries do not apply to this shell-only change