!1 runc:sys:add symbol for riscv64
Merge pull request !1 from 杨演超/master
This commit is contained in:
commit
c4bc0d77ce
7988
patch/0121-runc-add-sys-symbol-to-support-riscv.patch
Normal file
7988
patch/0121-runc-add-sys-symbol-to-support-riscv.patch
Normal file
File diff suppressed because it is too large
Load Diff
36
patch/0122-runc-add-riscv-on-existing-files.patch
Normal file
36
patch/0122-runc-add-riscv-on-existing-files.patch
Normal file
@ -0,0 +1,36 @@
|
||||
From b5cf892c9d9609872da81970013a433f998305ea Mon Sep 17 00:00:00 2001
|
||||
From: yangyanchao <yangyanchao6@huawei.com>
|
||||
Date: Tue, 15 Dec 2020 03:04:18 +0000
|
||||
Subject: [PATCH 2/2] runc-add-sys-symbol-to-support-riscv
|
||||
|
||||
---
|
||||
libcontainer/system/syscall_linux_64.go | 2 +-
|
||||
vendor/golang.org/x/sys/unix/endian_little.go | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/libcontainer/system/syscall_linux_64.go b/libcontainer/system/syscall_linux_64.go
|
||||
index 0816bf8..6e89196 100644
|
||||
--- a/libcontainer/system/syscall_linux_64.go
|
||||
+++ b/libcontainer/system/syscall_linux_64.go
|
||||
@@ -1,4 +1,4 @@
|
||||
-// +build linux,arm64 linux,amd64 linux,ppc linux,ppc64 linux,ppc64le linux,s390x
|
||||
+// +build linux,arm64 linux,amd64 linux,ppc linux,ppc64 linux,ppc64le linux,s390x linux,riscv64
|
||||
|
||||
package system
|
||||
|
||||
diff --git a/vendor/golang.org/x/sys/unix/endian_little.go b/vendor/golang.org/x/sys/unix/endian_little.go
|
||||
index 9ed865f..88903f6 100644
|
||||
--- a/vendor/golang.org/x/sys/unix/endian_little.go
|
||||
+++ b/vendor/golang.org/x/sys/unix/endian_little.go
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
//
|
||||
-// +build 386 amd64 amd64p32 arm arm64 ppc64le mips64le
|
||||
+// +build 386 amd64 amd64p32 arm arm64 ppc64le mips64le riscv64
|
||||
|
||||
package unix
|
||||
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
Name: docker-runc
|
||||
Version: 1.0.0.rc3
|
||||
Release: 109
|
||||
Release: 110
|
||||
Summary: runc is a CLI tool for spawning and running containers according to the OCI specification.
|
||||
|
||||
License: ASL 2.0
|
||||
@ -49,3 +49,5 @@ install -p -m 755 runc $RPM_BUILD_ROOT/%{_bindir}/runc
|
||||
%{_bindir}/runc
|
||||
|
||||
%changelog
|
||||
* Fri Dec 11 2020 yangyanchao <yangyanchao6@huawei.com> - 1.0.0.rc-110
|
||||
- add symbol in sys to support riscv
|
||||
|
||||
@ -118,3 +118,5 @@
|
||||
0118-runc-rootfs-do-not-permit-proc-mounts-to-no.patch
|
||||
0119-runc-use-git-commit-to-store-commit-ID.patch
|
||||
0120-runc-fix-permission-denied.patch
|
||||
0121-runc-add-sys-symbol-to-support-riscv.patch
|
||||
0122-runc-add-riscv-on-existing-files.patch
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user