mirror of
https://github.com/sipeed/NanoKVM.git
synced 2026-09-11 09:26:44 -05:00
* fix(ota): isolate updates in persistent workspaces Stage online and offline update archives under /root/.kvmcache/nanokvm-update-* and validate storage, manifests, and archive contents before changing the installed application. * fix(ota): harden storage safety and release gates Preserve the last rollback backup when update storage is insufficient, and verify the actual application mount point before installation. Move the shared transfer sentinel from /tmp to /run, enforce device package limits in release verification, and run that verification in package CI.
7 lines
306 B
Go
7 lines
306 B
Go
package utils
|
|
|
|
// TransferSentinelPath coordinates application uploads and virtual-media
|
|
// transfers. /run is already required by the device init scripts and preserves
|
|
// the previous reboot-clears-stale-state behaviour without using /tmp.
|
|
const TransferSentinelPath = "/run/nanokvm-transfer-in-progress"
|