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