From 5405c0551e2b42179db7fc0374c69f094859e5e3 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 29 Oct 2026 00:02:52 +0900 Subject: internal/rosa/go: remove superfluous patching These patches are for tests only, which are no longer run for the bootstrap stages. This change also removes dynamic linker path override for the final stage, and works around the test by making musl available at the expected path in the container. Signed-off-by: Ophestra --- internal/rosa/package/go.az | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'internal/rosa/package/go.az') diff --git a/internal/rosa/package/go.az b/internal/rosa/package/go.az index 4f284341..6ec5249b 100644 --- a/internal/rosa/package/go.az +++ b/internal/rosa/package/go.az @@ -27,21 +27,20 @@ cp -r . /work`+prefix+`/go cd /work`+prefix+`/go/src/ chmod -R +w .. -sed -i \ - 's,/lib/ld-musl-`+llvmArch+`.so.1,`+prefix+`/bin/linker,' \ - cmd/link/internal/`+arch+`/obj.go - +set +u +. ./make.bash "$@" --no-banner +set -u +`; + check = ` +mkdir /lib && ln -s ../system/lib/ld-musl-`+llvmArch+`.so.1 /lib/ rm \ os/root_unix_test.go \ runtime/crash_cgo_test.go \ cmd/cgo/internal/testsanitizers/tsan_test.go \ cmd/cgo/internal/testsanitizers/cshared_test.go -set +u -. ./make.bash "$@" --no-banner -set -u +bash run.bash --no-rebuild `; - check = "bash run.bash --no-rebuild\n"; install = ` ../bin/go tool dist banner # print build info -- cgit v1.3.1