From 92c221d0d6fa8e2c55aae7a32f3cf4e7565f4c60 Mon Sep 17 00:00:00 2001 From: Mridul Bajpai Date: Tue, 29 Oct 2024 23:38:52 -0700 Subject: [PATCH] Change the default number of Kernel dumps to 3 --- src/kdump-tools/patch/0004-kdump-num-dumps.patch | 13 +++++++++++++ src/kdump-tools/patch/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 src/kdump-tools/patch/0004-kdump-num-dumps.patch diff --git a/src/kdump-tools/patch/0004-kdump-num-dumps.patch b/src/kdump-tools/patch/0004-kdump-num-dumps.patch new file mode 100644 index 00000000000..d46758378cf --- /dev/null +++ b/src/kdump-tools/patch/0004-kdump-num-dumps.patch @@ -0,0 +1,13 @@ +diff --git a/debian/kdump-tools.conf.in b/debian/kdump-tools.conf.in +index fc51d67..c88d7c4 100644 +--- a/debian/kdump-tools.conf.in ++++ b/debian/kdump-tools.conf.in +@@ -37,7 +37,7 @@ KDUMP_INITRD=/var/lib/kdump/initrd.img + KDUMP_COREDIR="/var/crash" + #KDUMP_FAIL_CMD="reboot -f" + #KDUMP_DUMP_DMESG= +-#KDUMP_NUM_DUMPS= ++KDUMP_NUM_DUMPS=3 + #KDUMP_COMPRESSION= + + diff --git a/src/kdump-tools/patch/series b/src/kdump-tools/patch/series index 0af2c976020..bfaa778e03b 100644 --- a/src/kdump-tools/patch/series +++ b/src/kdump-tools/patch/series @@ -1,2 +1,3 @@ 0002-core-file-prefixed-by-kdump.patch 0003-Revert-the-MODULES-dep-optimization.patch +0004-kdump-num-dumps.patch