internal/rosa: replace busybox dash with mksh
All checks were successful
Test / Create distribution (push) Successful in 59s
Test / Sandbox (push) Successful in 2m41s
Test / Hakurei (push) Successful in 3m56s
Test / ShareFS (push) Successful in 3m57s
Test / Hpkg (push) Successful in 4m27s
Test / Sandbox (race detector) (push) Successful in 5m11s
Test / Hakurei (race detector) (push) Successful in 6m9s
Test / Flake checks (push) Successful in 1m46s

Toybox does not provide a shell, mksh fills that gap.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-01-29 02:00:32 +09:00
parent 536db533de
commit 79c0106ea0
4 changed files with 10 additions and 3 deletions

View File

@@ -59,6 +59,7 @@ func (t Toolchain) newAutoconf() pkg.Artifact {
t.Load(Make),
t.Load(M4),
t.Load(Perl),
t.Load(Bash),
}, nil, nil, `
cd "$(mktemp -d)"
/usr/src/autoconf/configure \
@@ -205,6 +206,7 @@ func (t Toolchain) newCoreutils() pkg.Artifact {
return t.New("coreutils-"+version, false, []pkg.Artifact{
t.Load(Make),
t.Load(Perl),
t.Load(Bash),
t.Load(KernelHeaders),
}, nil, nil, `
@@ -212,6 +214,8 @@ cd /usr/src/coreutils
test_disable() { chmod +w "$2" && echo "$1" > "$2"; }
test_disable '#!/bin/sh' gnulib-tests/test-c32ispunct.sh
test_disable '#!/bin/sh' tests/split/line-bytes.sh
test_disable '#!/bin/sh' tests/dd/no-allocate.sh
cd "$(mktemp -d)"
/usr/src/coreutils/configure \