summaryrefslogtreecommitdiffstats
path: root/libalpm/hooks
AgeCommit message (Collapse)AuthorFilesLines
2020-07-06alpm-hooks should use Type = Path, not FilePiotr Gorski2-2/+2
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
2019-10-29libalpm/hooks: Change the remove hook to PreTransaction and also match on ↵Giancarlo Razzolini1-1/+2
mkinitcpio-git. Since the hook actually needs to be able to match on a kernel pkgbase, it needs to be ran PreTransaction and not Post. Also add an additional target on mkinitcpio-git, to aid development.
2019-10-15Add a remove hookGiancarlo Razzolini1-0/+15
This hook triggers when a kernel is removed or when the mkinitcpio package itself is being removed.
2019-10-10Change the install hook to trigger on usr/lib/initcpio/* instead of ↵Giancarlo Razzolini1-6/+1
mkinitcpio* package Since not only mkinitcpio* packages touch /usr/lib/initcpio, switch the hook to triggering on that.
2019-10-09Changed the trigger to vmlinuzGiancarlo Razzolini1-1/+1
All the kernels install the kernel to the file vmlinuz, so triggering on it makes more sense. The pkgbase file is still used on the script.
2019-10-09Rename of the hook and scriptGiancarlo Razzolini1-17/+0
2019-10-09Change the hook name and change the name of the script called by itGiancarlo Razzolini1-0/+17
The hook was renamed to reflect it will be triggered only on install (or upgrades). This is because we will have a hook/script pair running on kernels removals as well.
2019-10-09Add a new mkinitcpio pacman hookGiancarlo Razzolini1-0/+17
This hook runs on mkinitcpio updates as well as on kernels containing the pkgbase file on their modules directory. It calls the mkinitcpio script.