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>
This commit is contained in:
@ -4,11 +4,15 @@
|
||||
# Maintainer: Guilherme G. Piccoli <gpiccoli@igalia.com>
|
||||
|
||||
post_install() {
|
||||
# Create the minimal kdump initramfs for the running kernel
|
||||
# Create the minimal kdump initramfs for the running kernel
|
||||
/usr/lib/kdump/kdump_load.sh initrd
|
||||
|
||||
systemctl enable kdump-steamos.service
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
# Delete all minimal initramfs images created for kdump
|
||||
systemctl disable kdump-steamos.service
|
||||
|
||||
# Delete all minimal initramfs images created for kdump
|
||||
/usr/lib/kdump/kdump_load.sh clear
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user