aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-02-11 01:36:41 +0900
committerOphestra <cat@gensokyo.uk>2026-02-11 01:36:41 +0900
commit1ef7bedfb5977ad51020ff96f0ca43ddf58de313 (patch)
tree85417c6e2353d5c4fea4995bdb02fa7fa8f93c7a /internal
parent05a828c47453dc36c8f333b18588299067c34fc7 (diff)
internal/rosa/toybox: do not assume bash location
For compatibility with Gentoo stage3 as bootstrap seed. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/toybox.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/toybox.go b/internal/rosa/toybox.go
index a35215b7..1bd118d6 100644
--- a/internal/rosa/toybox.go
+++ b/internal/rosa/toybox.go
@@ -17,7 +17,7 @@ func (t Toolchain) newToybox(suffix, script string) pkg.Artifact {
"ROSA_CHECK=make USER=cure tests",
), `
chmod +w /bin/
-ln -sf ../system/bin/bash /bin/
+ln -rs "$(which bash)" /bin/ || true
cd /usr/src/toybox
chmod +w kconfig tests