aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/rosa.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-29 19:51:18 +0900
committerOphestra <cat@gensokyo.uk>2026-01-29 19:51:18 +0900
commitabf96d228308fdd2f728d7ccacb170d37590d911 (patch)
tree013d014a11fb98eecbb08c0bc53f6612798ec51d /internal/rosa/rosa.go
parent6c90e879da14cf7542668da13ee6be22178e3b9b (diff)
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>
Diffstat (limited to 'internal/rosa/rosa.go')
-rw-r--r--internal/rosa/rosa.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go
index 9e4adcc4..201699f4 100644
--- a/internal/rosa/rosa.go
+++ b/internal/rosa/rosa.go
@@ -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(),