From 469421d89f2afed433c9cca96909db16061be689 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Tue, 15 Oct 2024 21:04:11 +0800 Subject: [PATCH] fix build error on loongarch64 --- runc.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/runc.spec b/runc.spec index f99a6e5..2da6444 100644 --- a/runc.spec +++ b/runc.spec @@ -3,7 +3,7 @@ Name: runc Version: 1.1.8 -Release: 24 +Release: 25 Summary: runc is a CLI tool for spawning and running containers according to the OCI specification. License: ASL 2.0 @@ -40,6 +40,9 @@ export GO111MODULE=off export GOPATH=`pwd`/.gopath ln -sf `pwd` .gopath/src/github.com/opencontainers/runc cd .gopath/src/github.com/opencontainers/runc +%ifarch loongarch64 +sed '1s/mips64le/mips64le || loong64/g' -i libcontainer/system/syscall_linux_64.go +%endif make BUILDTAGS="seccomp selinux" static rm -rf .gopath strip runc @@ -54,6 +57,9 @@ install -p -m 755 runc $RPM_BUILD_ROOT/%{_bindir}/runc %{_bindir}/runc %changelog +* Tue Oct 15 2024 Wenlong Zhang - 1.1.8-25 +- fix build error on loongarch64 + * Sun Sep 29 2024 zhongjiawei - 1.1.8-24 - Type:bugfix - CVE:NA -- Gitee