From ec52a96f2b479be8b880349ddfb0819382666962 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 1 Dec 2026 20:59:16 +0900 Subject: internal/rosa: net helper This is mostly useful for fetching dependencies before a build. Signed-off-by: Ophestra --- internal/rosa/state.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'internal/rosa/state.go') diff --git a/internal/rosa/state.go b/internal/rosa/state.go index e55202c4..8426c8a6 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -1157,6 +1157,7 @@ func (ctx *evalContext) pf( anitya int64 kc any + kcn string output any source any helper Helper @@ -1192,6 +1193,9 @@ func (ctx *evalContext) pf( k("bootstrap"): &bootstrap, k("libc"): &libc, + k("net"): &attr.Net, + k("checksumN"): &kcn, + k("checksum"): &kc, k("output"): &output, k("source"): &source, @@ -1225,6 +1229,10 @@ func (ctx *evalContext) pf( return } + if attr.Net != "" { + attr.NetChecksum = mustDecode(kcn) + } + if join || (runtimes != nil && len(runtimes) == 0 && helper != nil) { hi := helper.inputs() meta.Runtimes = make(P, 0, len(hi)+len(inputsH)+len(runtimes)) -- cgit v1.3.1