aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/autoetc.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-17 01:29:54 +0900
committerOphestra <cat@gensokyo.uk>2025-08-17 01:32:07 +0900
commit8aa65f28c68815db9dd1f246ee2656759574c3bb (patch)
tree5bd72d78f6a77defb5cda3767016f97a7f1c2adc /container/autoetc.go
parentf9edec7e4169ecda63ba15762f12e64803b9984d (diff)
container: allow additional state between ops
This is useful for ops that need to be aware of previous instances of themselves. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/autoetc.go')
-rw-r--r--container/autoetc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/container/autoetc.go b/container/autoetc.go
index 56879125..f494d75c 100644
--- a/container/autoetc.go
+++ b/container/autoetc.go
@@ -20,8 +20,8 @@ func (f *Ops) Etc(host *Absolute, prefix string) *Ops {
type AutoEtcOp struct{ Prefix string }
-func (e *AutoEtcOp) early(*Params) error { return nil }
-func (e *AutoEtcOp) apply(*Params) error {
+func (e *AutoEtcOp) early(*setupState) error { return nil }
+func (e *AutoEtcOp) apply(*setupState) error {
const target = sysrootPath + FHSEtc
rel := e.hostRel() + "/"