Blame SOURCES/expand-etcd-arch-validation.patch

f67c12
diff --git a/etcdmain/etcd.go b/etcdmain/etcd.go
f67c12
index 58c74b5..ab0ab7f 100644
f67c12
--- a/etcdmain/etcd.go
f67c12
+++ b/etcdmain/etcd.go
f67c12
@@ -396,7 +396,12 @@ func setupLogging(cfg *config) {
f67c12
 
f67c12
 func checkSupportArch() {
f67c12
 	// TODO qualify arm64
f67c12
-	if runtime.GOARCH == "amd64" {
f67c12
+	if runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64le" {
f67c12
+		return
f67c12
+	}
f67c12
+	if runtime.GOARCH == "arm64" || runtime.GOARCH == "s390x" {
f67c12
+		plog.Warningf("Running etcd on %s architecture is experimental.", runtime.GOARCH)
f67c12
+		plog.Warningf("Please report any bugs you encounter: https://bugzilla.redhat.com/")
f67c12
 		return
f67c12
 	}
f67c12
 	if env, ok := os.LookupEnv("ETCD_UNSUPPORTED_ARCH"); ok && env == runtime.GOARCH {
f67c12