Skip to contentSkip to conversation

minicoredumper: upgrade 2.0.7 -> 2.0.8

PATCH New Li Zhou 1 participant 1 message Jun 3

lore
Share & tools
lore

Li Zhou

author
#0 lore raw

PATCH 1/1 minicoredumper: upgrade 2.0.7 -> 2.0.8

Upgrade minicoredumper from 2.0.7 to 2.0.8.
Remove below patches because they have been merged by 2.0.8 upstream version:
0001-corestripper-Fix-uninitialized-warning.patch 0002-Fix-2038-year-problem-in-timestamp-handling.patch 0001-coreinject-fix-assignment-of-const-qualified-type.patch

Changelog:
===========
* Address multiple compiler warnings and errors found by more recent toolchains. The issues existed technically, but were not a problem for real-world usage scenarios.

* Relocate the man pages for sbin binaries to section 8.

* Fix timestamp value in the core dump directory name for 32-bit systems with a 64-bit time_t definition after 2038-01-19.

* Improve status query for init script to check core_pattern usage and handle when the regd daemon is not enabled.

* Known problems:

- If tar is active, core files larger than 8GB will be truncated. If it is known that the core files will be >8GB and the full core file is needed, tar must be disabled.

License-Update:
The COPYING changes in upstream commit 941079541a
update Copyright end dates to reflect when changes were last committed. The COPYING.LGPLv2.1 change in upstream commit 00e3b2fdf7 replaces the FSF postal mailing address with a URL as recommended by the GNU FAQ. No license change, no impact on the recipe licensing.

---
 ...x-assignment-of-const-qualified-type.patch | 44 ---------------
 ...restripper-Fix-uninitialized-warning.patch | 53 ------------------
 ...8-year-problem-in-timestamp-handling.patch | 55 -------------------
 ...umper_2.0.7.bb => minicoredumper_2.0.8.bb} |  9 +--
 4 files changed, 3 insertions(+), 158 deletions(-)
 delete mode 100644 meta-oe/recipes-kernel/minicoredumper/files/0001-coreinject-fix-assignment-of-const-qualified-type.patch
 delete mode 100644 meta-oe/recipes-kernel/minicoredumper/files/0001-corestripper-Fix-uninitialized-warning.patch
 delete mode 100644 meta-oe/recipes-kernel/minicoredumper/files/0002-Fix-2038-year-problem-in-timestamp-handling.patch
 rename meta-oe/recipes-kernel/minicoredumper/{minicoredumper_2.0.7.bb => minicoredumper_2.0.8.bb} (80%)
meta-oe/recipes-kernel/minicoredumper/files/0001-coreinject-fix-assignment-of-const-qualified-type.patch deleted +0 -44
deleted file mode 100644
index ace46202b7..0000000000
@@ -1,44 +0,0 @@
-From 07023a2d2ef059a039fef83ee4b33a7e47ca8e3e Mon Sep 17 00:00:00 2001
-From: John Ogness <[email protected]>
-Date: Tue, 24 Feb 2026 11:33:40 +0106
-Subject: [PATCH] coreinject: fix assignment of const-qualified type
-
-coreinject fails to build with glibc 2.43.
-
-The issue is due to a new glibc feature:
-
-* For ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr,
-  strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return
-  pointers into their input arrays now have definitions as macros that
-  return a pointer to a const-qualified type when the input argument is
-  a pointer to a const-qualified type.
-
-The fix is trivial since the returned strrchr() value is only used in
-a way compatible with const pointers. The data type was simply defined
-incorrectly.
-
-Reported-by: Aurelien Jarno <[email protected]>
-Closes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128695
-Signed-off-by: John Ogness <[email protected]>
-
-Upstream-Status: Backport [https://github.com/diamon/minicoredumper/commit/eb66f10ae26edf94bf41d513ce90a4eb1e0f11b3]
-Signed-off-by: Gyorgy Sarvari <[email protected]>
----
- src/coreinject/main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/coreinject/main.c b/src/coreinject/main.c
-index faf8edf..198485d 100644
---- a/src/coreinject/main.c
-+++ b/src/coreinject/main.c
-@@ -240,9 +240,9 @@ static int inject_data(FILE *f_core, FILE *f_symmap, const char *b_fname,
- 	struct ident_data indirect;
- 	struct ident_data direct;
- 	const char *ident;
-+	const char *p;
- 	FILE *f_dump;
- 	int err = 0;
--	char *p;
- 
- 	/* extract ident name from file path */
- 	p = strrchr(b_fname, '/');
meta-oe/recipes-kernel/minicoredumper/files/0001-corestripper-Fix-uninitialized-warning.patch deleted +0 -53

53 lines not on this page · raw message

meta-oe/recipes-kernel/minicoredumper/files/0002-Fix-2038-year-problem-in-timestamp-handling.patch deleted +0 -55

55 lines not on this page · raw message

meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.8.bb renamed from meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.7.bb +3 -6
similarity index 80%
rename from meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.7.bb
rename to meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.8.bb
index ff4fdf358e..ed8085b73a 100644
@@ -2,23 +2,20 @@ SUMMARY = "minicoredumper provides an alternate core dump facility for Linux \
 to allow minimal and customized crash dumps"
 HOMEPAGE = "https://www.linutronix.de/minicoredumper/"
 LICENSE = " LGPL-2.1-only & BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://COPYING;md5=71827c617ec7b45a0dd23658347cc1e9 \
+LIC_FILES_CHKSUM = "file://COPYING;md5=be36ac4e46b05b190e6b9d3ec415aa63 \
                     file://COPYING.BSD;md5=b915ac80d5236d6aa659cb986daf00e5 \
-                    file://COPYING.LGPLv2.1;md5=321bf41f280cf805086dd5a720b37785 \
+                    file://COPYING.LGPLv2.1;md5=3254c7b4d4712a396bd036bfb211a908 \
                    "
 DEPENDS = "elfutils dbus dbus-glib-native glib-2.0 dbus-glib util-linux json-c"
 
 inherit autotools pkgconfig ptest systemd update-rc.d
 
-SRCREV = "ca6e7ad62b4cf984de84aa081024c4e45632cecb"
+SRCREV = "dd1d6044ab6e255b7aadbe7a80eebd6a4eaa0469"
 
 SRC_URI = "git://github.com/diamon/minicoredumper;protocol=https;branch=master \
            file://minicoredumper.service \
            file://minicoredumper.init \
            file://run-ptest \
-           file://0001-corestripper-Fix-uninitialized-warning.patch \
-           file://0002-Fix-2038-year-problem-in-timestamp-handling.patch \
-           file://0001-coreinject-fix-assignment-of-const-qualified-type.patch \
            "
 
 
Signature · 1 line
2.34.1