Thanks to the heads-up from Foxboron (on Arch Linux IRC channel) add hereby a LICENSE file to the project that matches the SPDX headers. While at it, fix the SPDX short identifier on headers, that was deprecated (as per [0]). The license file was a pure copy obtained today from [1]. [0] https://spdx.org/licenses/LGPL-2.1+.html [1] https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
28 lines
682 B
Plaintext
28 lines
682 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 users. This hook would act upon kernel installation,
|
|
# upgrade and removal, also on INITRD package installation.
|
|
#
|
|
[Trigger]
|
|
Type = Path
|
|
Operation = Install
|
|
Operation = Remove
|
|
Operation = Upgrade
|
|
Target = usr/lib/modules/*/vmlinuz
|
|
|
|
[Trigger]
|
|
Type = Package
|
|
Operation = Install
|
|
Target = INITRD
|
|
|
|
[Action]
|
|
Description = Managing kdump minimal initramfs and INITRD hooks...
|
|
Depends=INITRD
|
|
When = PostTransaction
|
|
Exec = /usr/lib/kdumpst/kdump-INITRD-hook.sh
|
|
NeedsTargets
|