summarylogtreecommitdiffstats
path: root/uu_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 /uu_bootbackup.hook
parent3ed63adb6dec8b4500ee75834bc4b07c6867950f (diff)
downloadaur-95925e311ece8cc0e9ab09e57ed9487e0fe38b9d.tar.gz
Hooks now trigger for all kernels in /boot that match vmlinuz-*
Diffstat (limited to 'uu_bootbackup.hook')
-rw-r--r--uu_bootbackup.hook5
1 files changed, 3 insertions, 2 deletions
diff --git a/uu_bootbackup.hook b/uu_bootbackup.hook
index c2895de23b20..292f0bea7762 100644
--- a/uu_bootbackup.hook
+++ b/uu_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]