From 6fcbcf37cdb994ed201908c952473425c37c1f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E4=BB=B2=E4=BC=9F?= Date: Mon, 13 Jan 2025 10:42:07 +0800 Subject: [PATCH] include all patches in the source package. --- kexec-tools.spec | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/kexec-tools.spec b/kexec-tools.spec index 966c0bf..4c5c86f 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -4,7 +4,7 @@ Name: kexec-tools Version: 2.0.26 -Release: 10 +Release: 11 License: GPLv2 Summary: The kexec/kdump userspace component URL: https://www.kernel.org/ @@ -74,21 +74,15 @@ Patch0001: add-secure-compile-options-for-makedumpfile.patch Patch0002: kexec-Add-quick-kexec-support.patch Patch0003: kexec-Quick-kexec-implementation-for-arm64.patch -%ifarch sw_64 Patch0004: sw_64.patch Patch0005: makedumpfile-1.7.2-sw.patch -%endif -%ifarch riscv64 Patch0006: kexec-tools-Add-riscv-support.patch Patch0007: kexec-tools-fix-riscv-support.patch -%endif -%ifarch loongarch64 Patch0008: Add-loongarch-iomem.h.patch Patch0010: Fix-incorrect-page-exclusion-in-exclude_nodata_pages.patch Patch0011: loongarch64-fix-kernel-image-size-error.patch -%endif Patch0009: Before-adding-to-usablemem_rgns-check-if-the-memory-.patch %description @@ -112,7 +106,26 @@ mkdir -p -m755 kcp tar -z -x -v -f %{SOURCE9} tar -z -x -v -f %{SOURCE19} -%autopatch -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 9 -p1 + +%ifarch sw_64 +%patch -P 4 -p1 +%patch -P 5 -p1 +%endif + +%ifarch riscv64 +%patch -P 6 -p1 +%patch -P 7 -p1 +%endif + +%ifarch loongarch64 +%patch -P 8 -p1 +%patch -P 10 -p1 +%patch -P 11 -p1 +%endif %build autoreconf @@ -298,6 +311,9 @@ done %endif %changelog +* Mon Jan 13 2025 shenzhongwei - 2.0.26-11 +- include all patches in the source package. + * Mon Jan 6 2025 Ming Wang - 2.0.26-10 - Fix loongarch kdump image size overflow issue. -- Gitee