internal/rosa: remove global handles

These no longer serve any purpose.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-20 08:07:43 +09:00
parent 2e502ede6c
commit b482fd4abf
17 changed files with 120 additions and 125 deletions

View File

@@ -2,6 +2,12 @@ package rosa
import "hakurei.app/internal/pkg"
var (
gzip = H("gzip")
toyboxEarly = H("toybox-early")
)
func (t Toolchain) newToybox(suffix, script string) (pkg.Artifact, string) {
const (
version = "0.8.13"
@@ -52,10 +58,10 @@ mkdir -p /work/usr/bin
ln -s ../../system/bin/env /work/usr/bin
`,
},
Bash,
Gzip,
bash,
gzip,
KernelHeaders,
kernelHeaders,
), version
}
func init() {