19 lines
500 B
Plaintext
19 lines
500 B
Plaintext
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|||
|
|
#
|
||
|
|
# Copyright (c) 2022 Valve.
|
||
|
|
# Maintainer: Guilherme G. Piccoli <gpiccoli@igalia.com>
|
||
|
|
#
|
||
|
|
# alpm hook to deal with the kdump initramfs creation/deletion
|
||
|
|
# for INITRD. This hook would act upon INITRD package installation.
|
||
|
|
#
|
||
|
|
[Trigger]
|
||
|
|
Type = Path
|
||
|
|
Operation = Install
|
||
|
|
Target = usr/bin/INITRD
|
||
|
|
|
||
|
|
[Action]
|
||
|
|
Description = Managing kdump minimal initramfs for INITRD installation
|
||
|
|
When = PostTransaction
|
||
|
|
Exec = /usr/lib/kdumpst/kdump-INITRD-hook.sh
|
||
|
|
NeedsTargets
|