Do not disable systemd dracut module in the kdump initrd. OBS-URL: https://build.opensuse.org/request/show/250128 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=107
100 lines
2.7 KiB
Diff
100 lines
2.7 KiB
Diff
From: Petr Tesarik <ptesarik@suse.cz>
|
|
Date: Thu Sep 18 17:03:46 2014 +0200
|
|
Subject: Calibrate: update the initramfs size
|
|
References: bnc#883883
|
|
Patch-mainline: v0.8.16
|
|
Git-commit: b2ab003f54da780cc1ca8ebfe47f39ddd936b34a
|
|
|
|
Yes, systemd also needs some space in the initramfs, causing approx.
|
|
20% increase. Let's account for it...
|
|
|
|
Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
|
|
|
|
---
|
|
kdumptool/calibrate.cc | 18 +++++++++---------
|
|
1 file changed, 9 insertions(+), 9 deletions(-)
|
|
|
|
--- a/kdumptool/calibrate.cc
|
|
+++ b/kdumptool/calibrate.cc
|
|
@@ -59,7 +59,7 @@
|
|
#if defined(__x86_64__)
|
|
# define DEF_RESERVE_KB MB(128)
|
|
# define KERNEL_KB MB(16)
|
|
-# define INIT_KB MB(28)
|
|
+# define INIT_KB MB(34)
|
|
# define INIT_NET_KB MB(3)
|
|
# define SIZE_STRUCT_PAGE 56
|
|
# define KDUMP_PHYS_LOAD 0
|
|
@@ -69,7 +69,7 @@
|
|
#elif defined(__i386__)
|
|
# define DEF_RESERVE_KB MB(128)
|
|
# define KERNEL_KB MB(14)
|
|
-# define INIT_KB MB(24)
|
|
+# define INIT_KB MB(29)
|
|
# define INIT_NET_KB MB(2)
|
|
# define SIZE_STRUCT_PAGE 32
|
|
# define KDUMP_PHYS_LOAD 0
|
|
@@ -79,7 +79,7 @@
|
|
#elif defined(__powerpc64__)
|
|
# define DEF_RESERVE_KB MB(256)
|
|
# define KERNEL_KB MB(16)
|
|
-# define INIT_KB MB(48)
|
|
+# define INIT_KB MB(58)
|
|
# define INIT_NET_KB MB(4)
|
|
# define SIZE_STRUCT_PAGE 64
|
|
# define KDUMP_PHYS_LOAD MB(128)
|
|
@@ -89,7 +89,7 @@
|
|
#elif defined(__powerpc__)
|
|
# define DEF_RESERVE_KB MB(128)
|
|
# define KERNEL_KB MB(12)
|
|
-# define INIT_KB MB(28)
|
|
+# define INIT_KB MB(34)
|
|
# define INIT_NET_KB MB(2)
|
|
# define SIZE_STRUCT_PAGE 32
|
|
# define KDUMP_PHYS_LOAD MB(128)
|
|
@@ -99,7 +99,7 @@
|
|
#elif defined(__s390x__)
|
|
# define DEF_RESERVE_KB MB(128)
|
|
# define KERNEL_KB MB(13)
|
|
-# define INIT_KB MB(28)
|
|
+# define INIT_KB MB(34)
|
|
# define INIT_NET_KB MB(2)
|
|
# define SIZE_STRUCT_PAGE 56
|
|
# define KDUMP_PHYS_LOAD 0
|
|
@@ -111,7 +111,7 @@
|
|
#elif defined(__s390__)
|
|
# define DEF_RESERVE_KB MB(128)
|
|
# define KERNEL_KB MB(12)
|
|
-# define INIT_KB MB(24)
|
|
+# define INIT_KB MB(29)
|
|
# define INIT_NET_KB MB(2)
|
|
# define SIZE_STRUCT_PAGE 32
|
|
# define KDUMP_PHYS_LOAD 0
|
|
@@ -123,7 +123,7 @@
|
|
#elif defined(__ia64__)
|
|
# define DEF_RESERVE_KB MB(512)
|
|
# define KERNEL_KB MB(32)
|
|
-# define INIT_KB MB(36)
|
|
+# define INIT_KB MB(44)
|
|
# define INIT_NET_KB MB(4)
|
|
# define SIZE_STRUCT_PAGE 56
|
|
# define KDUMP_PHYS_LOAD 0
|
|
@@ -133,7 +133,7 @@
|
|
#elif defined(__aarch64__)
|
|
# define DEF_RESERVE_KB MB(128)
|
|
# define KERNEL_KB MB(10)
|
|
-# define INIT_KB MB(24)
|
|
+# define INIT_KB MB(29)
|
|
# define INIT_NET_KB MB(2)
|
|
# define SIZE_STRUCT_PAGE 56
|
|
# define KDUMP_PHYS_LOAD 0
|
|
@@ -143,7 +143,7 @@
|
|
#elif defined(__arm__)
|
|
# define DEF_RESERVE_KB MB(128)
|
|
# define KERNEL_KB MB(12)
|
|
-# define INIT_KB MB(24)
|
|
+# define INIT_KB MB(29)
|
|
# define INIT_NET_KB MB(2)
|
|
# define SIZE_STRUCT_PAGE 32
|
|
# define KDUMP_PHYS_LOAD 0
|