internal/rosa/package: migrate toybox

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-21 18:08:00 +09:00
parent 54aae9d72a
commit af4c3bbff2
4 changed files with 145 additions and 116 deletions

View File

@@ -28,7 +28,7 @@ tar \
`, pkg.Path(fhs.AbsRoot.Append("stage0"), false, t.Append(nil,
LLVM,
Mksh,
toyboxEarly,
_toyboxEarly,
)...))
})
}
@@ -37,7 +37,7 @@ tar \
func (s *S) HasStage0() (ok bool) {
func() {
defer func() { ok = recover() == nil }()
s.New(stageEarly).MustLoad(stage0Dist)
s.New(stageEarly).MustLoad(_stage0Dist)
}()
return
}