internal/rosa: resolve runtime for overlay extras
All checks were successful
Test / Create distribution (push) Successful in 2m38s
Test / Sandbox (push) Successful in 2m53s
Test / ShareFS (push) Successful in 3m48s
Test / Hakurei (push) Successful in 4m8s
Test / Sandbox (race detector) (push) Successful in 5m23s
Test / Hakurei (race detector) (push) Successful in 6m37s
Test / Flake checks (push) Successful in 1m19s

This is generally for system image creation, so this behaviour makes more sense.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-25 10:37:21 +09:00
parent 8ca70550ab
commit 3458806685

View File

@@ -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)