summarylogtreecommitdiffstats
path: root/50_bootbackup.hook
diff options
context:
space:
mode:
authorMarkus Schanz2023-10-21 22:49:16 +0200
committerMarkus Schanz2023-10-21 22:58:54 +0200
commit95925e311ece8cc0e9ab09e57ed9487e0fe38b9d (patch)
treef7b86ac3d3e47258bc353ec8126881eec00c94b9 /50_bootbackup.hook
parent3ed63adb6dec8b4500ee75834bc4b07c6867950f (diff)
downloadaur-pacman-boot-backup-hook.tar.gz
Hooks now trigger for all kernels in /boot that match vmlinuz-*
Diffstat (limited to '50_bootbackup.hook')
-rw-r--r--50_bootbackup.hook5
1 files changed, 3 insertions, 2 deletions
diff --git a/50_bootbackup.hook b/50_bootbackup.hook
index 97ddabc5bdde..6f435499b023 100644
--- a/50_bootbackup.hook
+++ b/50_bootbackup.hook
@@ -6,10 +6,11 @@ Operation = Remove
Target = systemd
[Trigger]
-Type = File
+Type = Path
Operation = Install
Operation = Upgrade
-Target = boot/vmlinuz-linux
+Target = boot/vmlinuz-*
+Target = usr/lib/modules/*/vmlinuz
Target = usr/lib/initcpio/*
[Action]