| Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
Package internal/store expects a zero-initialised buffer.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This avoids invoking undefined behaviour in the underlying overlay filesystem implementation.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|