From 140db40db1b5948b087449d2ada5c0279cba121c Mon Sep 17 00:00:00 2001 From: laokz Date: Tue, 23 Apr 2024 18:19:43 +0800 Subject: [PATCH] add riscv64 to supported arch (cherry picked from commit 8d4dd42c0998e6fd26306d7fbe233e930027ff7f) --- ...platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch | 2 +- etcd.spec | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/0002-Etcd-on-unsupported-platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch b/0002-Etcd-on-unsupported-platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch index fbbe958..16a8794 100644 --- a/0002-Etcd-on-unsupported-platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch +++ b/0002-Etcd-on-unsupported-platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch @@ -19,7 +19,7 @@ index 73328a7..1907f99 100644 func checkSupportArch() { // TODO qualify arm64 - if runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64le" { -+ if runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64le" || runtime.GOARCH == "arm64" { ++ if runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64le" || runtime.GOARCH == "arm64" || runtime.GOARCH == "riscv64" { return } // unsupported arch only configured via environment variable diff --git a/etcd.spec b/etcd.spec index 30e1e90..b2e25ec 100644 --- a/etcd.spec +++ b/etcd.spec @@ -31,7 +31,7 @@ system.} %global gosupfiles integration/fixtures/* etcdserver/api/v2http/testdata/* Name: etcd -Release: 10 +Release: 11 Summary: Distributed reliable key-value store for the most critical data of a distributed system # Upstream license specification: Apache-2.0 @@ -161,6 +161,12 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_sharedstatedir}/ %endif %changelog +* Tue Apr 23 2024 laokz - 3.4.14-11 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC: add riscv64 to avoid unsupported arch error + * Mon Apr 22 2024 zhangbowei - 3.4.14-10 - Type:bugfix - CVE:NA -- Gitee