From 52d8c584b8a60639b56d144e758a6179d513d2d6 Mon Sep 17 00:00:00 2001 From: Jiping Ma Date: Wed, 15 Jun 2022 08:39:18 +0800 Subject: [PATCH] Debian: Add crashkernel kernel parameter. Set kernel parameter crashkernel to 2048M to enable kdump. It needs 2048M because kdump doesn't use a separate stripped down initramfs like it does in CentOS. The initrd.img link always points to /boot/1/initramfs. Test Plan: PASS: Image builds successfully. PASS: "Reserving 2048MB of memory for crashkernel" printed out in dmesg. Story: 2009964 Task: 45623 Signed-off-by: Jiping Ma Change-Id: Icc829d9efdb2d961ecf86b3356bdb2c78573dc6c --- debian-mirror-tools/config/debian/common/base-bullseye.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/debian-mirror-tools/config/debian/common/base-bullseye.yaml b/debian-mirror-tools/config/debian/common/base-bullseye.yaml index b2195cffa..0b2f4b1f6 100644 --- a/debian-mirror-tools/config/debian/common/base-bullseye.yaml +++ b/debian-mirror-tools/config/debian/common/base-bullseye.yaml @@ -93,6 +93,7 @@ rootfs-post-scripts: environments: - NO_RECOMMENDATIONS="1" - DEBIAN_FRONTEND=noninteractive +- KERNEL_PARAMS=crashkernel=2048M ostree: ostree_use_ab: '0' ostree_osname: debian