kdump-lib: Match 64k debug kernel in prepare_kdump_bootinfo()
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2165839 Upstream: Fedora Conflict: None commit f3139012f290cbc35d262e1d6b24038b12b2c41d Author: Pingfan Liu <piliu@redhat.com> Date: Tue Jun 20 08:50:31 2023 +0800 kdump-lib: Match 64k debug kernel in prepare_kdump_bootinfo() For kernel 64k variant, it terminates with substring 64k-debug, e.g. vmlinuz-5.14.0-327.el9.aarch64+64k-debug. Providing an extra matching pattern to filter out it. Signed-off-by: Pingfan Liu <piliu@redhat.com> Reviewed-by: Coiby Xu <coxu@redhat.com> Signed-off-by: Pingfan Liu <piliu@redhat.com>
This commit is contained in:
parent
87bde04c4d
commit
d8ee87cfda
|
@ -736,7 +736,8 @@ prepare_kdump_bootinfo()
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$KDUMP_KERNEL" == *"+debug" ]]; then
|
# For 64k variant, e.g. vmlinuz-5.14.0-327.el9.aarch64+64k-debug
|
||||||
|
if [[ "$KDUMP_KERNEL" == *"+debug" || "$KDUMP_KERNEL" == *"64k-debug" ]]; then
|
||||||
dwarn "Using debug kernel, you may need to set a larger crashkernel than the default value."
|
dwarn "Using debug kernel, you may need to set a larger crashkernel than the default value."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue