Files
kdumpst/initramfs/alpm-script.header
Guilherme G. Piccoli 4b5746a60e all: Rename the tool to kdumpst
Big but self-explanatory commit: rename the tool. The name choice was
kdumpst, since it's a tool to enable both kdump and pstore setting, also
it's a silly wordplay with the superlative of kdump, as in "kdumpest".

It's an invasive change (touches most of the files), but should
offer no functional change other than logging messages showing
kdumpst now, instead of kdump, and some filenames.

Notice it doesn't touch documentation, which will be done in
a subsequent commit.

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

17 lines
665 B
Bash

#!/bin/bash
set -eo pipefail # exclude -u on purpose to avoid issues with param checking
#
# SPDX-License-Identifier: LGPL-2.1+
#
# Copyright (c) 2022 Valve.
# Maintainer: Guilherme G. Piccoli <gpiccoli@igalia.com>
#
# This is the generic alpm-hook script that handles kernel/package
# installation for INITRD users, on behalf of kdumpst. Covers both manual
# invocation (to create the initramfs image for a given kernel) as
# well as kernel package installation/removal trigger. It also handles
# the event of installing the package INITRD, which requires the
# installation of initramfs hooks to be executed early in boot time,
# in case of a kdump.
#