forked from rosa/hakurei
hst: support ephemeral overlay mounts
This is useful for reusing a readonly template without autoroot. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -37,6 +37,8 @@ type Ops interface {
|
||||
Bind(source, target *check.Absolute, flags int) Ops
|
||||
// Overlay appends an op that mounts the overlay pseudo filesystem.
|
||||
Overlay(target, state, work *check.Absolute, layers ...*check.Absolute) Ops
|
||||
// OverlayEphemeral appends a MountOverlayOp with an ephemeral upperdir and workdir.
|
||||
OverlayEphemeral(target *check.Absolute, layers ...*check.Absolute) Ops
|
||||
// OverlayReadonly appends an op that mounts the overlay pseudo filesystem readonly.
|
||||
OverlayReadonly(target *check.Absolute, layers ...*check.Absolute) Ops
|
||||
|
||||
|
||||
Reference in New Issue
Block a user