Merge pull request #342 from tuan-hoang1/s390x-snap

snap: add support for s390x
This commit is contained in:
Julio Montes 2019-02-25 15:06:02 -06:00 committed by GitHub
commit 60e058942d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,10 @@ install_yq() {
goarch=ppc64le goarch=ppc64le
;; ;;
"s390x")
goarch=s390x
;;
"*") "*")
echo "Arch $(arch) not supported" echo "Arch $(arch) not supported"
exit exit

View File

@ -210,6 +210,10 @@ parts:
config="arm64_kata_kvm_${x_version}" config="arm64_kata_kvm_${x_version}"
;; ;;
"s390x")
config="s390_kata_kvm_${x_version}"
;;
*) *)
echo "ERROR: Unsupported architecture $(arch)" echo "ERROR: Unsupported architecture $(arch)"
exit 1 exit 1