internal/rosa/go: symlink executables

This avoids having to fix up $PATH for every artifact.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-01-25 23:59:08 +09:00
parent e34a59e332
commit 8a86cf74ee

View File

@@ -64,6 +64,12 @@ cd /work/system/go/src
chmod -R +w ..
`+script+`
./all.bash
mkdir /work/system/bin
ln -s \
../go/bin/go \
../go/bin/gofmt \
/work/system/bin
`, pkg.Path(AbsUsrSrc.Append("go"), false, pkg.NewHTTPGetTar(
nil, "https://go.dev/dl/go"+version+".src.tar.gz",
mustDecode(checksum),