diff --git a/add-loong64-to-little-endian.patch b/add-loong64-to-little-endian.patch new file mode 100644 index 0000000000000000000000000000000000000000..23c37a116acfd0f1430cdad359f0ec8b54635165 --- /dev/null +++ b/add-loong64-to-little-endian.patch @@ -0,0 +1,12 @@ +diff --git a/vendor/github.com/cilium/ebpf/internal/endian_le.go b/vendor/github.com/cilium/ebpf/internal/endian_le.go +index 41a6822..2c1c44a 100644 +--- a/vendor/github.com/cilium/ebpf/internal/endian_le.go ++++ b/vendor/github.com/cilium/ebpf/internal/endian_le.go +@@ -1,5 +1,5 @@ +-//go:build 386 || amd64 || amd64p32 || arm || arm64 || mipsle || mips64le || mips64p32le || ppc64le || riscv64 +-// +build 386 amd64 amd64p32 arm arm64 mipsle mips64le mips64p32le ppc64le riscv64 ++//go:build 386 || amd64 || amd64p32 || arm || arm64 || mipsle || mips64le || mips64p32le || ppc64le || riscv64 || loong64 ++// +build 386 amd64 amd64p32 arm arm64 mipsle mips64le mips64p32le ppc64le riscv64 loong64 + + package internal + diff --git a/containerd.spec b/containerd.spec index c893afcc3d08f9d7886ca517df93f5d952fe207a..9649f4ec83e1acbbbd1b4fc6e0d5c058b184f937 100644 --- a/containerd.spec +++ b/containerd.spec @@ -1,11 +1,11 @@ -%define anolis_release 1 +%define anolis_release 2 %bcond_without check %global goipath github.com/containerd/containerd Name: containerd -Version: 1.6.38 +Version: 1.7.29 Release: %{anolis_release}%{?dist} Summary: Open and reliable container runtime License: ASL 2.0 @@ -14,6 +14,8 @@ Source0: https://github.com/containerd/containerd/archive/refs/tags/v%{ve Source1: containerd.service Source2: containerd.toml +Patch0: add-loong64-to-little-endian.patch + BuildRequires: btrfs-progs-devel systemd-rpm-macros go-md2man Requires: runc @@ -38,6 +40,7 @@ The %{name}-doc package contains documentation files for %{name}. %prep %goprep -k +%patch 0 -p1 # Used only for generation: rm -rf cmd/protoc-gen-gogoctrd @@ -100,6 +103,9 @@ install -D -p -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/containerd/config.toml %doc code-of-conduct.md BUILDING.md %changelog +* Tue Dec 2 2025 Hao Wu - 1.7.29-2 +- Add loong64 to little-endian definition + * Thu Jul 10 2025 mgb01105731 - 1.6.38-1 - Update to 1.6.38 to fix CVE-2024-40635 - Delete patch as the content already exists diff --git a/v1.6.38.tar.gz b/v1.7.29.tar.gz similarity index 52% rename from v1.6.38.tar.gz rename to v1.7.29.tar.gz index 2f969b69c09b61dacea6b9d61d4a420e4bb4f75a..83dfc7c5ad60fc2f99ca58f3d274d067e1357910 100644 Binary files a/v1.6.38.tar.gz and b/v1.7.29.tar.gz differ