From 8aa65f28c68815db9dd1f246ee2656759574c3bb Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 17 Aug 2025 01:29:54 +0900 Subject: 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 --- container/autoetc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'container/autoetc.go') 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() + "/" -- cgit v1.3.1