internal/rosa: replace busybox with toybox

The busybox artifact does not run on aarch64, and the workarounds required for it to compile successfully on x86_64 is unacceptably shaky. This change fully replaces it with toybox.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-01-29 19:51:18 +09:00
parent 6c90e879da
commit abf96d2283
8 changed files with 21 additions and 7 deletions

View File

@@ -190,7 +190,7 @@ func (t Toolchain) New(
var (
path = AbsSystem.Append("bin", "sh")
args = []string{"mksh", absCureScript.String()}
args = []string{"sh", absCureScript.String()}
support []pkg.Artifact
)
switch t {
@@ -255,7 +255,7 @@ ln -vs ../usr/bin /work/bin
runtimes,
clang,
boot.Load(Mksh),
boot.Load(Busybox),
boot.Load(Toybox),
})
env = fixupEnviron(env, []string{
EnvTriplet + "=" + triplet(),