Pulse/scripts/installtests
rcourtman 5c13befcac Run the QNAP agent from the data volume instead of the RAM-backed root
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
2026-08-21 06:35:52 +01:00
..
windowslifecycleserver Extract the transport-independent action lifecycle service 2026-07-10 11:06:55 +01:00
agent_state_dir_lifecycle_test.go Prepare v6.3.0-rc.4 release 2026-08-21 00:00:37 +01:00
backfill_release_assets_test.go Add historical release asset backfill workflow 2026-04-22 17:25:58 +01:00
build_release_assets_test.go Prepare v6.3.0-rc.4 release 2026-08-21 00:00:37 +01:00
docker_entrypoint_test.go Refresh Pulse 6.1 RC1 mobile evidence 2026-07-13 19:41:41 +01:00
install_docker_sh_test.go Prepare v6.3.0-rc.4 release 2026-08-21 00:00:37 +01:00
install_ps1_test.go Run the Windows installer TLS callback off a compiled type 2026-08-02 13:12:17 +01:00
install_sh_qnap_data_volume_test.go Run the QNAP agent from the data volume instead of the RAM-backed root 2026-08-21 06:35:52 +01:00
install_sh_test.go Relax NoNewPrivileges only when a least-privilege sudo grant is active 2026-08-20 21:36:34 +01:00
provider_msp_deploy_test.go Fix provider MSP evaluation setup flow 2026-08-11 16:51:15 +01:00
pulse_auto_update_test.go Fix auto-update leaving service down after installer failure 2026-07-27 09:38:37 +01:00
release_ldflags_test.go Require signed unified agent release assets 2026-04-22 02:00:29 +01:00
root_install_sh_test.go fix(security): verify SSH hosts during proxy cleanup 2026-08-08 05:18:55 +01:00
uninstall_sensor_proxy_test.go fix(security): verify SSH hosts during proxy cleanup 2026-08-08 05:18:55 +01:00
windows_agent_lifecycle.ps1 Extract the transport-independent action lifecycle service 2026-07-10 11:06:55 +01:00