File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030srcdir=$( pwd)
3131
3232configure_yum_repos () {
33+ [ " ${arch} " == " riscv64" ] && return # No continuous repo for riscv64 yet
3334 local version_id
3435 version_id=$( . /etc/os-release && echo ${VERSION_ID} )
3536 # Add continuous tag for latest build tools and mark as required so we
@@ -102,6 +103,7 @@ install_rpms() {
102103# and it is very useful to have in the same place/flow as where we do builds/tests related
103104# to CoreOS.
104105install_ocp_tools () {
106+ [ " ${arch} " == " riscv64" ] && return # No ocp tools for riscv64
105107 # If $OCP_VERSION is defined we'll grab that specific version.
106108 # Otherwise we'll get the latest.
107109 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
1010 set -- cmd/* schema
1111fi
1212
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 )
1414ARCH=$( arch)
1515KOLET_ARCHES=" ${KOLET_ARCHES:- $(ARCH)} "
1616
Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ main() {
337337 fi
338338
339339 case " $basearch " in
340- " x86_64" |" aarch64" |" s390x" |" ppc64le" ) ;;
340+ " x86_64" |" aarch64" |" s390x" |" ppc64le" | " riscv64 " ) ;;
341341 * ) fatal " $basearch is not supported for this command" ;;
342342 esac
343343
You can’t perform that action at this time.
0 commit comments