mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/kind: fix build on loongarch64
This commit is contained in:
parent
20fdef4b2a
commit
469eaa5998
@ -15,6 +15,7 @@ subpackages="
|
||||
"
|
||||
source="https://github.com/kubernetes-sigs/kind/archive/v$pkgver/kind-$pkgver.tar.gz
|
||||
skip-version-test.patch
|
||||
fix-loongarch64-build.patch
|
||||
"
|
||||
|
||||
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
||||
@ -44,4 +45,5 @@ package() {
|
||||
sha512sums="
|
||||
f9e6570cb7696a85a4b03ef1a474a3c41c1f7b2350bd182dbabddf00685d91351853452871a7729220e8643be7c1975de9b49d7178a739349babf05993f36c1e kind-0.22.0.tar.gz
|
||||
6993628a0a5c938b0e59b92e04b32bd7d454dc4ee7e5c445c4122dacdb786d0372836c59749c767f5921b9ac96b4452c5d696c2c7d701ea8e10ac256d6d7d67c skip-version-test.patch
|
||||
f131259b1b939f8a433d556dfee4f23fb54e8130d3313c9f4c6ef1ee405a006adc809030201d5050df1a91fd68643a04ac63ad5366b578f7c94a935ed7190beb fix-loongarch64-build.patch
|
||||
"
|
||||
|
25
testing/kind/fix-loongarch64-build.patch
Normal file
25
testing/kind/fix-loongarch64-build.patch
Normal file
@ -0,0 +1,25 @@
|
||||
diff --git a/go.mod b/go.mod
|
||||
index 95f499b..f967a8d 100644
|
||||
--- a/go.mod
|
||||
+++ b/go.mod
|
||||
@@ -15,3 +15,5 @@ require (
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
sigs.k8s.io/yaml v1.3.0
|
||||
)
|
||||
+
|
||||
+require golang.org/x/sys v0.5.0 // indirect
|
||||
diff --git a/go.sum b/go.sum
|
||||
index 863b64e..af5a1eb 100644
|
||||
--- a/go.sum
|
||||
+++ b/go.sum
|
||||
@@ -29,8 +29,9 @@ github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q=
|
||||
github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g=
|
||||
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
|
||||
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||
-golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c h1:F1jZWGFhYfh0Ci55sIpILtKKK8p3i2/krTr0H1rg74I=
|
||||
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
+golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
|
||||
+golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b h1:QRR6H1YWRnHb4Y/HeNFCTJLFVxaq6wH4YuVdsUOr75U=
|
||||
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
Loading…
Reference in New Issue
Block a user