From 345880668510be449524f615d7305ccf5f4da239 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 25 May 2026 10:37:21 +0900 Subject: [PATCH] internal/rosa: resolve runtime for overlay extras This is generally for system image creation, so this behaviour makes more sense. Signed-off-by: Ophestra --- internal/rosa/state.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/rosa/state.go b/internal/rosa/state.go index 5e6f089a..e04027ec 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -1008,9 +1008,9 @@ func (ctx *evalContext) pf( if o.P, err = check.NewAbs(overlay); err != nil { o.P = AbsUsrSrc.Append("extra", overlay) } - o.A = make([]pkg.Artifact, len(extraH)) - for i, h := range extraH { - _, a := ctx.t.MustLoad(h) + extraA := ctx.t.Append(nil, extraH...) + o.A = make([]pkg.Artifact, len(extraA)) + for i, a := range extraA { o.A[i] = a } attr.Paths = append(attr.Paths, o)