makedumpfile: support kernel 6.12

Upstream: RHEL-ONLY
Resolves: https://issues.redhat.com/browse/RHEL-69102

Signed-off-by: Lichen Liu <lichliu@redhat.com>
This commit is contained in:
Lichen Liu 2025-01-09 20:21:31 +08:00
parent ce34e9dfd2
commit 9d41a807c0
No known key found for this signature in database
GPG Key ID: 2ED8215EF57B3D6C
2 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From 9a341d02a1610622919464833f5cddd9f93e5629 Mon Sep 17 00:00:00 2001
From: Lichen Liu <lichliu@redhat.com>
Date: Thu, 9 Jan 2025 20:18:32 +0800
Subject: [PATCH] makedumpfile: support kernel 6.12.0
Upstream: RHEL-ONLY
Resolves: https://issues.redhat.com/browse/RHEL-69102
Signed-off-by: Lichen Liu <lichliu@redhat.com>
---
makedumpfile.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/makedumpfile.h b/makedumpfile.h
index 2b3495e..e2367fc 100644
--- a/makedumpfile.h
+++ b/makedumpfile.h
@@ -497,7 +497,7 @@ do { \
#define KVER_MIN_SHIFT 16
#define KERNEL_VERSION(x,y,z) (((x) << KVER_MAJ_SHIFT) | ((y) << KVER_MIN_SHIFT) | (z))
#define OLDEST_VERSION KERNEL_VERSION(2, 6, 15) /* linux-2.6.15 */
-#define LATEST_VERSION KERNEL_VERSION(6, 11, 4) /* linux-6.11.4 */
+#define LATEST_VERSION KERNEL_VERSION(6, 12, 0) /* linux-6.11.4 */
/*
* for printk caller_id support
--
2.47.0

View File

@ -3,13 +3,15 @@
Name: makedumpfile
Version: 1.7.6
Summary: make a small dumpfile of kdump
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL-2.0-only
URL: https://github.com/makedumpfile/makedumpfile
Source0: https://github.com/makedumpfile/makedumpfile/archive/%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/lucchouina/eppic/archive/%{eppic_ver}/eppic-%{eppic_shortver}.tar.gz
Patch0: 0001-makedumpfile-support-kernel-6.12.0.patch
Conflicts: kexec-tools < 2.0.28-5
BuildRequires: make
BuildRequires: gcc
@ -58,6 +60,9 @@ install -m 755 -D eppic_makedumpfile.so %{buildroot}/%{_libdir}/eppic_makedumpfi
%license COPYING
%changelog
* Thu Jan 09 2025 Lichen Liu <lichliu@redhat.com> - 1.7.6-3
- Add support for kernel 6.12.0
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.7.6-2
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018