aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/app/lock.go
AgeCommit message (Collapse)Author
2026-09-17cmd/app: alternative merged template layoutOphestra
This implements an optional, alternative template layout to accommodate ZFS and equivalent setups where each template occupies a different filesystem. In such a setup, the default, separate workdir is unusable as overlayfs requires the workdir to reside on the same filesystem as the writable upperdir. The "merge" build tag enables this alternative behaviour. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-08-30internal/store: destroy stale instancesOphestra
This recovers from inconsistent state on power loss and /tmp/ is not wiped on startup, or if hakurei somehow crashes. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-23cmd/app: zero state buffer before reuseOphestra
Package internal/store expects a zero-initialised buffer. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-21cmd/app: enforce mutable instance exclusionOphestra
This avoids invoking undefined behaviour in the underlying overlay filesystem implementation. Signed-off-by: Ophestra <cat@gensokyo.uk>