!58 将riscv64加入支持的架构补丁中
From: @laokz Reviewed-by: @jxy_git Signed-off-by: @jxy_git
This commit is contained in:
commit
d0bf8d83a6
@ -19,7 +19,7 @@ index 73328a7..1907f99 100644
|
|||||||
func checkSupportArch() {
|
func checkSupportArch() {
|
||||||
// TODO qualify arm64
|
// TODO qualify arm64
|
||||||
- if runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64le" {
|
- 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
|
return
|
||||||
}
|
}
|
||||||
// unsupported arch only configured via environment variable
|
// unsupported arch only configured via environment variable
|
||||||
|
|||||||
@ -31,7 +31,7 @@ system.}
|
|||||||
%global gosupfiles integration/fixtures/* etcdserver/api/v2http/testdata/*
|
%global gosupfiles integration/fixtures/* etcdserver/api/v2http/testdata/*
|
||||||
|
|
||||||
Name: etcd
|
Name: etcd
|
||||||
Release: 10
|
Release: 11
|
||||||
Summary: Distributed reliable key-value store for the most critical data of a distributed system
|
Summary: Distributed reliable key-value store for the most critical data of a distributed system
|
||||||
|
|
||||||
# Upstream license specification: Apache-2.0
|
# Upstream license specification: Apache-2.0
|
||||||
@ -161,6 +161,12 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_sharedstatedir}/
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 23 2024 laokz <zhangkai@iscas.ac.cn> - 3.4.14-11
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: add riscv64 to avoid unsupported arch error
|
||||||
|
|
||||||
* Mon Apr 22 2024 zhangbowei <zhangbowei@kylinos.cn> - 3.4.14-10
|
* Mon Apr 22 2024 zhangbowei <zhangbowei@kylinos.cn> - 3.4.14-10
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user