!58 fix loong64 build error
From: @zhangxianting Reviewed-by: @xuxuepeng Signed-off-by: @xuxuepeng
This commit is contained in:
commit
0f26cb4552
11
rubik.spec
11
rubik.spec
@ -1,6 +1,6 @@
|
|||||||
Name: rubik
|
Name: rubik
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: Hybrid Deployment for Cloud Native
|
Summary: Hybrid Deployment for Cloud Native
|
||||||
License: Mulan PSL V2
|
License: Mulan PSL V2
|
||||||
URL: https://gitee.com/openeuler/rubik
|
URL: https://gitee.com/openeuler/rubik
|
||||||
@ -30,6 +30,9 @@ cp %{SOURCE7} .
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
sh ./apply-patch
|
sh ./apply-patch
|
||||||
|
%ifarch loongarch64
|
||||||
|
sed -i -e 's/riscv64 s390x/riscv64 s390x loong64/g' -e 's/s390x)/s390x || loong64)/g' vendor/github.com/opencontainers/runc/libcontainer/system/syscall_linux_64.go
|
||||||
|
%endif
|
||||||
make release
|
make release
|
||||||
strip ./build/rubik
|
strip ./build/rubik
|
||||||
|
|
||||||
@ -56,6 +59,12 @@ install -Dp ./build_rubik_image.sh %{buildroot}%{_sharedstatedir}/%{name}/build_
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 02 2024 zhangxianting <zhangxianting@uniontech.com> - 2.0.0-6
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:restart
|
||||||
|
- DESC:fix loong64 build error
|
||||||
|
|
||||||
* Tue May 21 2024 weiyuan <weiyuan@kylinos.cn> - 2.0.0-5
|
* Tue May 21 2024 weiyuan <weiyuan@kylinos.cn> - 2.0.0-5
|
||||||
- Type: bugfix
|
- Type: bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user