rubik: fix loong64 build error

Signed-off-by: vegbir <yangjiaqi16@huawei.com>
This commit is contained in:
vegbir 2024-09-23 09:16:53 +00:00
parent 1bae17b327
commit eb9a1b1b56
2 changed files with 13 additions and 4 deletions

View File

@ -1 +1 @@
2.0.0-7
2.0.0-8

View File

@ -1,6 +1,6 @@
Name: rubik
Version: 2.0.0
Release: 7
Release: 8
Summary: Hybrid Deployment for Cloud Native
License: Mulan PSL V2
URL: https://gitee.com/openeuler/rubik
@ -30,6 +30,9 @@ cp %{SOURCE7} .
%build
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
strip ./build/rubik
@ -56,18 +59,24 @@ install -Dp ./build_rubik_image.sh %{buildroot}%{_sharedstatedir}/%{name}/build_
rm -rf %{buildroot}
%changelog
* Fri Sep 20 2024 wujing <wujing50@huawei.com> - 2.0.0-7
* Fri Sep 20 2024 wujing <wujing50@huawei.com> - 2.0.0-8
- Type: bugfix
- CVE:NA
- SUG:restart
- DESC:sync upstream patches
* Tue Aug 20 2024 vegbir <yangjiaqi16@huawei.com> - 2.0.0-6
* Tue Aug 20 2024 vegbir <yangjiaqi16@huawei.com> - 2.0.0-7
- Type: bugfix
- CVE:NA
- SUG:restart
- DESC:informer add nri support
* 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
- Type: bugfix
- CVE:NA