Debian Codegraph @

debian/patches/0001-Fix-FTBFS-on-arm-platforms.patch

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