internal/rosa/toybox: do not assume bash location

For compatibility with Gentoo stage3 as bootstrap seed.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-02-11 01:36:41 +09:00
parent 05a828c474
commit 1ef7bedfb5

View File

@@ -17,7 +17,7 @@ func (t Toolchain) newToybox(suffix, script string) pkg.Artifact {
"ROSA_CHECK=make USER=cure tests", "ROSA_CHECK=make USER=cure tests",
), ` ), `
chmod +w /bin/ chmod +w /bin/
ln -sf ../system/bin/bash /bin/ ln -rs "$(which bash)" /bin/ || true
cd /usr/src/toybox cd /usr/src/toybox
chmod +w kconfig tests chmod +w kconfig tests