containerd:all:add some symbol for riscv
This commit is contained in:
parent
dccab1cbca
commit
056f26dd1e
@ -2,7 +2,7 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Name: containerd
|
Name: containerd
|
||||||
Release: 105
|
Release: 106
|
||||||
Summary: An industry-standard container runtime
|
Summary: An industry-standard container runtime
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://containerd.io
|
URL: https://containerd.io
|
||||||
@ -50,3 +50,9 @@ install -p -m 755 bin/containerd-shim $RPM_BUILD_ROOT/%{_bindir}/containerd-shim
|
|||||||
%{_bindir}/containerd-shim
|
%{_bindir}/containerd-shim
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 11 2020 yangyanchao <yangyanchao6@huawei.com> 1.2.0-106
|
||||||
|
- Type:requirement
|
||||||
|
- ID:NA
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:restart
|
||||||
|
- DESC:containerd:vendor:add some symbol to support riscv
|
||||||
|
|||||||
7977
patch/0064-containerd-add-sys-symbol-to-support-riscv.patch
Normal file
7977
patch/0064-containerd-add-sys-symbol-to-support-riscv.patch
Normal file
File diff suppressed because it is too large
Load Diff
31
patch/0065-containerd-add-blot-symbol-to-support-riscv.patch
Normal file
31
patch/0065-containerd-add-blot-symbol-to-support-riscv.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From d03e4a480ba9f954ebe077981202c811e21640e9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: yangyanchao <yangyanchao6@huawei.com>
|
||||||
|
Date: Tue, 15 Dec 2020 03:24:47 +0000
|
||||||
|
Subject: [PATCH 2/2] containerd-add-sys-symbol-to-support-riscv
|
||||||
|
|
||||||
|
---
|
||||||
|
vendor/go.etcd.io/bbolt/bolt_riscv64.go | 12 ++++++++++++
|
||||||
|
1 file changed, 12 insertions(+)
|
||||||
|
create mode 100644 vendor/go.etcd.io/bbolt/bolt_riscv64.go
|
||||||
|
|
||||||
|
diff --git a/vendor/go.etcd.io/bbolt/bolt_riscv64.go b/vendor/go.etcd.io/bbolt/bolt_riscv64.go
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..5f1c364
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/vendor/go.etcd.io/bbolt/bolt_riscv64.go
|
||||||
|
@@ -0,0 +1,12 @@
|
||||||
|
+// +build riscv64
|
||||||
|
+
|
||||||
|
+package bbolt
|
||||||
|
+
|
||||||
|
+// maxMapSize represents the latgest mmap size supported by Bolt.
|
||||||
|
+const maxMapSize = 0xFFFFFFFFFFFF // 256TB
|
||||||
|
+
|
||||||
|
+// maxAllocSize is the size used when creating array pointers.
|
||||||
|
+const maxAllocSize = 0x7FFFFFFF
|
||||||
|
+
|
||||||
|
+// Are unaligned load/stores broken on this arch?
|
||||||
|
+var brokenUnaligned = false
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
@ -66,4 +66,6 @@ patch/0060-containerd-do-not-disable-cgo-in-containerd-shim-mak.patch
|
|||||||
patch/0061-containerd-check-if-bundle-exists-before-create-bund.patch
|
patch/0061-containerd-check-if-bundle-exists-before-create-bund.patch
|
||||||
patch/0062-containerd-use-path-based-socket-for-shims.patch
|
patch/0062-containerd-use-path-based-socket-for-shims.patch
|
||||||
patch/0063-containerd-kill-init-directly-if-runtime-kill-failed.patch
|
patch/0063-containerd-kill-init-directly-if-runtime-kill-failed.patch
|
||||||
# end
|
patch/0064-containerd-add-sys-symbol-to-support-riscv.patch
|
||||||
|
patch/0065-containerd-add-blot-symbol-to-support-riscv.patch
|
||||||
|
# end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user