aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/toybox.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-02-10 19:40:45 +0900
committerOphestra <cat@gensokyo.uk>2026-02-10 21:22:46 +0900
commitfb101a02f21d048515561659b06bfc2a35568c56 (patch)
tree463d221e3408de18728ba85cf3412cde8b5a3e48 /internal/rosa/toybox.go
parent3dbd67d1138e46d15df408d1404c946163e15ef1 (diff)
internal/rosa: self-host stage0 tarball
This replaces gentoo stage3 tarballs. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/toybox.go')
-rw-r--r--internal/rosa/toybox.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/rosa/toybox.go b/internal/rosa/toybox.go
index 2e4d470e..a35215b7 100644
--- a/internal/rosa/toybox.go
+++ b/internal/rosa/toybox.go
@@ -16,7 +16,9 @@ func (t Toolchain) newToybox(suffix, script string) pkg.Artifact {
), nil, stage0Concat(t, []string{},
"ROSA_CHECK=make USER=cure tests",
), `
-ln -s ../system/bin/bash /bin/ || true
+chmod +w /bin/
+ln -sf ../system/bin/bash /bin/
+
cd /usr/src/toybox
chmod +w kconfig tests
rm \