From: Reinhard Tartler Date: Sat, 6 Jul 2024 20:02:08 -0400 Subject: Fix FTBFS on arm platforms Forwarded: https://github.com/openshift/imagebuilder/issues/160 Bug-Debian: http://bugs.debian.org/959538 --- dispatchers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dispatchers_test.go b/dispatchers_test.go index 1e453e9..0697daf 100644 --- a/dispatchers_test.go +++ b/dispatchers_test.go @@ -26,7 +26,7 @@ func TestDispatchArgDefaultBuiltins(t *testing.T) { localspec := platforms.DefaultSpec() expectedArgs := []string{ "BUILDARCH=" + localspec.Architecture, - "TARGETPLATFORM=" + localspec.OS + "/" + localspec.Architecture, + "TARGETPLATFORM=" + platforms.DefaultString(), } got := mybuilder.Arguments() sort.Strings(got)