From e4264431d2e2c19e986fb150d05ff4fcdf67ac10 Mon Sep 17 00:00:00 2001 From: Packit Date: Mon, 2 Dec 2024 13:21:13 +0000 Subject: [PATCH 1/6] Update to 2.0.30 upstream release - Resolves: rhbz#2326470 Upstream tag: v2.0.30 Upstream commit: 2c8ca052 Commit authored by Packit automation (https://packit.dev/) --- README.packit | 2 +- kexec-tools.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.packit b/README.packit index bd4a9c5..fafa6eb 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.99.0. +The file was generated using packit 0.104.1. diff --git a/kexec-tools.spec b/kexec-tools.spec index 6c1958a..f49464e 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,5 +1,5 @@ Name: kexec-tools -Version: 2.0.29 +Version: 2.0.30 Release: 1%{?dist} URL: https://kernel.org/pub/linux/utils/kernel/kexec License: GPL-2.0-only @@ -81,6 +81,10 @@ rm -f %{buildroot}/%{_libdir}/kexec-tools/kexec_test %doc TODO %changelog +* Mon Dec 02 2024 Packit - 2.0.30-1 +- Update to version 2.0.30 +- Resolves: rhbz#2326470 + * Tue Aug 06 2024 Coiby Xu - 2.0.29-1 - Update to version 2.0.29 - Resolves: 2297928 diff --git a/sources b/sources index 04b13c6..f43fdd2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (kexec-tools-2.0.29.tar.xz) = 4c9e0b3df47b240f0eac2c31e8b515465f626ce043f64daa32b0b032d7132e54dada5d70875dab256345f66cf94a25dc3c160a9009ba60addd8dcb1e5205f5ca +SHA512 (kexec-tools-2.0.30.tar.xz) = 4550607ad7eb51d169c2565cfee9195441634624d1c8859e21bca6bd7f15031713c39ba475301c1ef5fc67c009bc6599d254da184be25e68b226155e515e3852 From d19f7ff6c03a4b1d6b01dfa146922c527b16f91d Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Tue, 3 Dec 2024 08:51:55 +0800 Subject: [PATCH 2/6] Disable packit-stg Currently both production and staging deployments of Packit are enabled and both of them will create pull requests when there is a new upstream release. So disable packit-stg to avoid creating duplicate PRs. Signed-off-by: Coiby Xu --- .packit.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index f3cbec8..467e73b 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -2,7 +2,6 @@ # https://packit.dev/docs/configuration/ upstream_project_url: https://github.com/horms/kexec-tools.git -packit_instances: ["prod", "stg"] specfile_path: kexec-tools.spec From 06e7fbf52e25669b992e43f828c94a84032542a5 Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 22 Apr 2025 09:47:14 +0000 Subject: [PATCH 3/6] Update to 2.0.31 upstream release - Resolves: rhbz#2359477 Upstream tag: v2.0.31 Upstream commit: d0d0a599 Commit authored by Packit automation (https://packit.dev/) --- README.packit | 2 +- kexec-tools.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.packit b/README.packit index fafa6eb..807ffc6 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.104.1. +The file was generated using packit 1.6.0.post1.dev2+gd5a7662a. diff --git a/kexec-tools.spec b/kexec-tools.spec index f49464e..1b909fa 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,5 +1,5 @@ Name: kexec-tools -Version: 2.0.30 +Version: 2.0.31 Release: 1%{?dist} URL: https://kernel.org/pub/linux/utils/kernel/kexec License: GPL-2.0-only @@ -81,6 +81,10 @@ rm -f %{buildroot}/%{_libdir}/kexec-tools/kexec_test %doc TODO %changelog +* Tue Apr 22 2025 Packit - 2.0.31-1 +- Update to version 2.0.31 +- Resolves: rhbz#2359477 + * Mon Dec 02 2024 Packit - 2.0.30-1 - Update to version 2.0.30 - Resolves: rhbz#2326470 diff --git a/sources b/sources index f43fdd2..014a0fd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (kexec-tools-2.0.30.tar.xz) = 4550607ad7eb51d169c2565cfee9195441634624d1c8859e21bca6bd7f15031713c39ba475301c1ef5fc67c009bc6599d254da184be25e68b226155e515e3852 +SHA512 (kexec-tools-2.0.31.tar.xz) = 95cb7e7b33685497d72fab74fed2191e476c0574d6ad2333d9e22b95a94543b5fdafe0663282cfaebb8747cf696b7d34c308941ec1074b2b9f1ed440b32d7309 From 29cbab1984d978a7bcbf4b1e64480b6f153738a6 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Tue, 22 Apr 2025 17:59:31 +0800 Subject: [PATCH 4/6] Also allow all users with commit access to the repo to create a build Follow [1][2] to allow all users with commit access to the dist-git repo to create a koji build and a Bodhi update. [1] https://packit.dev/docs/configuration/downstream/koji_build#optional-parameters [2] https://packit.dev/docs/configuration/downstream/bodhi_update#optional-parameters Signed-off-by: Coiby Xu --- .packit.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.packit.yaml b/.packit.yaml index 467e73b..64b9c3a 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -25,10 +25,12 @@ jobs: - job: koji_build trigger: commit + allowed_pr_authors: ["all_committers", "packit"] dist_git_branches: - fedora-all - job: bodhi_update trigger: commit + allowed_builders: ["all_committers", "packit"] dist_git_branches: - fedora-all From d4f8eaa717ea5de75ff1e51760eb42b19cb5763f Mon Sep 17 00:00:00 2001 From: Pingfan Liu Date: Wed, 21 May 2025 09:46:58 +0800 Subject: [PATCH 5/6] Add BuildRequires libzstd-devel If a buildroot enviornment does not provide libzstd and kexec_file_load a zstd compressed kernel, it will suffer from coredump. The following is observed from the coredump Core was generated by `/sbin/kexec -s -p --command-line=BOOT_IMAGE=\(hd0,gpt2\)/vmlinuz-6.15.0-0.rc5.250509g9c69f8884904.47.fc43.aarch64\ ro\ rootflags=subvol=root\ irqpoll\ nr_cpus=1\ reset_devices\ cgroup_disable=memory\ udev.children-max=2\ panic=10\ swiotlb=noforce\ novmcoredd\ cma=0\ hugetlb_cma=0\ sbsa_gwdt.pretimeout=0 --initrd=/boot/initramfs-6.15.0-0.rc5.250509g9c69f8884904.47.fc43.aarch64kdump.img /boot/vmlinuz-6.15.0-0.rc5.250509g9c69f8884904.47.fc43.aarch64'. Program terminated with signal SIGSEGV, Segmentation fault. 143 if (!!memcmp(buf, "PE\0\0", 4)) { (gdb) Besides providing some C code to fix the segfault issue in upstream. There should be explicit requirement in the spec to ask the buildroot enviorment to provide libzstd. So it can work with the zstd compressed linux kernel. With this patch, the following can be observed in the configuration process of kexec-tools ,,, checking for zstd.h... yes checking for ZSTD_decompress in -lzstd... yes ,,, Signed-off-by: Pingfan Liu Reviewed-by: Lichen Liu --- kexec-tools.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/kexec-tools.spec b/kexec-tools.spec index 1b909fa..86c887b 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -14,6 +14,7 @@ BuildRequires: libtool BuildRequires: gcc BuildRequires: xz-devel BuildRequires: zlib-devel +BuildRequires: libzstd-devel #START INSERT From 70593f2ca84ae04758525f10f09960bd4e1ab0e4 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Wed, 21 May 2025 12:10:59 +0800 Subject: [PATCH 6/6] Release 2.0.31-2 Signed-off-by: Coiby Xu --- kexec-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kexec-tools.spec b/kexec-tools.spec index 86c887b..c23d13a 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 2.0.31 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://kernel.org/pub/linux/utils/kernel/kexec License: GPL-2.0-only Summary: The kexec/kdump userspace component @@ -82,6 +82,9 @@ rm -f %{buildroot}/%{_libdir}/kexec-tools/kexec_test %doc TODO %changelog +* Wed May 21 2025 Coiby Xu - 2.0.31-2 +- Add BuildRequires libzstd-devel to support loading zstd-compressed kernel + * Tue Apr 22 2025 Packit - 2.0.31-1 - Update to version 2.0.31 - Resolves: rhbz#2359477