c70d8bca9f
* In the event of a kernel crash, we need to gather as much information as possible to understand and identify the root cause of the crash. Currently, the kernel does not provide much information, which make kernel crash investigation difficult and time consuming. Fortunately, there is a way in the kernel to provide more information in the case of a kernel crash. kdump is a feature of the Linux kernel that creates crash dumps in the event of a kernel crash. This PR will add kermel kdump support. An extension to the CLI utilities config and show is provided to configure and manage kdump: - enable / disable kdump functionality - configure kdump (how many kernel crash logs can be saved, memory allocated for capture kernel) - view kernel crash logs
14 lines
367 B
Makefile
14 lines
367 B
Makefile
# kdump-tools package
|
|
|
|
KDUMP_TOOLS_VERSION_BASE = 1.6.1
|
|
KDUMP_TOOLS_VERSION = $(KDUMP_TOOLS_VERSION_BASE)-1
|
|
export KDUMP_TOOLS_VERSION_BASE
|
|
export KDUMP_TOOLS_VERSION
|
|
|
|
KDUMP_TOOLS = kdump-tools_$(KDUMP_TOOLS_VERSION)_all.deb
|
|
$(KDUMP_TOOLS)_SRC_PATH = $(SRC_PATH)/kdump-tools
|
|
SONIC_MAKE_DEBS += $(KDUMP_TOOLS)
|
|
SONIC_STRETCH_DEBS += $(KDUMP_TOOLS)
|
|
|
|
export KDUMP_TOOLS
|