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 <jiping.ma2@windriver.com>
Change-Id: Icc829d9efdb2d961ecf86b3356bdb2c78573dc6c
This commit is contained in:
Jiping Ma
2022-06-15 08:39:18 +08:00
parent a8aaa0a2bd
commit 52d8c584b8

View File

@@ -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