mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
Merge pull request #18417 from Pensu/master
Auto commit by PR queue bot
This commit is contained in:
commit
0641e4a8f0
@ -98,9 +98,11 @@ elif [[ "${machine}" == "arm*" ]]; then
|
|||||||
arch="arm"
|
arch="arm"
|
||||||
elif [[ "${machine}" == "s390x*" ]]; then
|
elif [[ "${machine}" == "s390x*" ]]; then
|
||||||
arch="s390x"
|
arch="s390x"
|
||||||
|
elif [[ "${machine}" == "ppc64le" ]]; then
|
||||||
|
arch="ppc64le"
|
||||||
else
|
else
|
||||||
echo "Unknown, unsupported architecture (${machine})."
|
echo "Unknown, unsupported architecture (${machine})."
|
||||||
echo "Supported architectures x86_64, i686, arm, s390x."
|
echo "Supported architectures x86_64, i686, arm, s390x, ppc64le."
|
||||||
echo "Bailing out."
|
echo "Bailing out."
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
|
@ -73,8 +73,11 @@ case "$(uname -m)" in
|
|||||||
s390x*)
|
s390x*)
|
||||||
host_arch=s390x
|
host_arch=s390x
|
||||||
;;
|
;;
|
||||||
|
ppc64le*)
|
||||||
|
host_arch=ppc64le
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unsupported host arch. Must be x86_64, 386, arm or s390x." >&2
|
echo "Unsupported host arch. Must be x86_64, 386, arm, s390x or ppc64le." >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -153,8 +153,11 @@ kube::util::host_platform() {
|
|||||||
s390x*)
|
s390x*)
|
||||||
host_arch=s390x
|
host_arch=s390x
|
||||||
;;
|
;;
|
||||||
|
ppc64le*)
|
||||||
|
host_arch=ppc64le
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
kube::log::error "Unsupported host arch. Must be x86_64, 386, arm or s390x."
|
kube::log::error "Unsupported host arch. Must be x86_64, 386, arm, s390x or ppc64le."
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -145,8 +145,11 @@ function detect_binary {
|
|||||||
s390x*)
|
s390x*)
|
||||||
host_arch=s390x
|
host_arch=s390x
|
||||||
;;
|
;;
|
||||||
|
ppc64le*)
|
||||||
|
host_arch=ppc64le
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unsupported host arch. Must be x86_64, 386, arm or s390x." >&2
|
echo "Unsupported host arch. Must be x86_64, 386, arm, s390x or ppc64le." >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user