Files
kdumpst/kdump-steamos.install
Guilherme G. Piccoli a1f89d341f Add pstore-RAM support and fix comments indentation
Check README.MD and /etc/default/kdump for instructions on
pstore usage - should be simple, it's automatically configured.

Notice that we expect all units to have the same e820 memory
map, hence to have the RAM buffer available. This point should
be better clarified by the team working with firmware.

Also, the package now enables the kdump systemd service
automatically, in a post-installer hook.

Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
2023-03-31 15:34:42 -03:00

19 lines
441 B
Plaintext
Executable File

# SPDX-License-Identifier: LGPL-2.1+
#
# Copyright (c) 2021 Valve.
# Maintainer: Guilherme G. Piccoli <gpiccoli@igalia.com>
post_install() {
# Create the minimal kdump initramfs for the running kernel
/usr/lib/kdump/kdump_load.sh initrd
systemctl enable kdump-steamos.service
}
pre_remove() {
systemctl disable kdump-steamos.service
# Delete all minimal initramfs images created for kdump
/usr/lib/kdump/kdump_load.sh clear
}