File tree Expand file tree Collapse file tree 4 files changed +782
-2
lines changed Expand file tree Collapse file tree 4 files changed +782
-2
lines changed Original file line number Diff line number Diff line change 30
30
srcdir=$( pwd)
31
31
32
32
configure_yum_repos () {
33
+ [ " ${arch} " == " riscv64" ] && return # No continuous repo for riscv64 yet
33
34
local version_id
34
35
version_id=$( . /etc/os-release && echo ${VERSION_ID} )
35
36
# Add continuous tag for latest build tools and mark as required so we
@@ -102,6 +103,7 @@ install_rpms() {
102
103
# and it is very useful to have in the same place/flow as where we do builds/tests related
103
104
# to CoreOS.
104
105
install_ocp_tools () {
106
+ [ " ${arch} " == " riscv64" ] && return # No ocp tools for riscv64
105
107
# If $OCP_VERSION is defined we'll grab that specific version.
106
108
# Otherwise we'll get the latest.
107
109
local url=" https://mirror.openshift.com/pub/openshift-v4/${arch} /clients/ocp/latest${OCP_VERSION: +-$OCP_VERSION } /openshift-client-linux.tar.gz"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if [[ $# -eq 0 ]]; then
10
10
set -- cmd/* schema
11
11
fi
12
12
13
- declare -A BASEARCH_TO_GOARCH=([s390x]=s390x [ x86_64]=amd64 [aarch64]=arm64 [ppc64le]=ppc64le)
13
+ declare -A BASEARCH_TO_GOARCH=([x86_64]=amd64 [aarch64]=arm64 [ppc64le]=ppc64le [riscv64]=riscv64 [s390x]=s390x )
14
14
ARCH=$( arch)
15
15
KOLET_ARCHES=" ${KOLET_ARCHES:- ${ARCH} } "
16
16
Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ main() {
337
337
fi
338
338
339
339
case " $basearch " in
340
- " x86_64" |" aarch64" |" s390x" |" ppc64le" ) ;;
340
+ " x86_64" |" aarch64" |" s390x" |" ppc64le" | " riscv64 " ) ;;
341
341
* ) fatal " $basearch is not supported for this command" ;;
342
342
esac
343
343
You can’t perform that action at this time.
0 commit comments