!199 fix build error on loongarch64
From: @zhangwenlong01 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
015df96b73
@ -2,7 +2,7 @@
|
||||
%global debug_package %{nil}
|
||||
Version: 1.6.22
|
||||
Name: containerd
|
||||
Release: 12
|
||||
Release: 13
|
||||
Summary: An industry-standard container runtime
|
||||
License: ASL 2.0
|
||||
URL: https://containerd.io
|
||||
@ -68,6 +68,9 @@ install -D -p -m 0644 %{S:7} %{buildroot}%{_sysconfdir}/containerd/config.toml
|
||||
%exclude %{_bindir}/containerd-stress
|
||||
|
||||
%changelog
|
||||
* Tue Oct 15 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.6.22-13
|
||||
- fix build error on loongarch64
|
||||
|
||||
* Tue Oct 08 2024 zhongjiawei<zhongjiawei1@huawei.com> - 1.6.22-12
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
22
patch/0037-fix-build-error-for-loong64.patch
Normal file
22
patch/0037-fix-build-error-for-loong64.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 9fdcd6d6ac3bf222d9b4bb45f282b0c47a6b2057 Mon Sep 17 00:00:00 2001
|
||||
From: build <build@obs.com>
|
||||
Date: Tue, 15 Oct 2024 15:24:03 +0800
|
||||
Subject: [PATCH] fix build error for loong64
|
||||
|
||||
---
|
||||
sys/thp_loong64.go | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
create mode 100644 sys/thp_loong64.go
|
||||
|
||||
diff --git a/sys/thp_loong64.go b/sys/thp_loong64.go
|
||||
new file mode 100644
|
||||
index 0000000..a6db8d6
|
||||
--- /dev/null
|
||||
+++ b/sys/thp_loong64.go
|
||||
@@ -0,0 +1,3 @@
|
||||
+package sys
|
||||
+
|
||||
+const PRCTL_SYSCALL = 167
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@ -33,3 +33,4 @@ patch/0033-containerd-Fix-missing-closed-fifo.patch
|
||||
patch/0034-containerd-disable-Transparent-HugePage-for-shim-pro.patch
|
||||
patch/0035-containerd-modify-Makefile-for-go-build-options.patch
|
||||
patch/0036-containerd-modify-makefile-options.patch
|
||||
patch/0037-fix-build-error-for-loong64.patch
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user