summarylogtreecommitdiffstats
path: root/60-kernel-install-remove.hook
diff options
context:
space:
mode:
authoreNV252023-01-17 12:31:36 +0400
committereNV252023-01-17 12:35:27 +0400
commita12f122ce1520a51b6e0bfb98dff15793fd8e18e (patch)
tree4f1953dfc13e6d623e84f2d0936b2b0387db841b /60-kernel-install-remove.hook
parent45a73e622b4b8117bac0b4ae57e431d1a2609a97 (diff)
downloadaur-a12f122ce1520a51b6e0bfb98dff15793fd8e18e.tar.gz
upgpkg: pacman-hook-kernel-install 0.12.0-1
upstream release
Diffstat (limited to '60-kernel-install-remove.hook')
-rw-r--r--60-kernel-install-remove.hook24
1 files changed, 9 insertions, 15 deletions
diff --git a/60-kernel-install-remove.hook b/60-kernel-install-remove.hook
index 2f8a29a47a23..52e45ef5039c 100644
--- a/60-kernel-install-remove.hook
+++ b/60-kernel-install-remove.hook
@@ -3,29 +3,23 @@ Type = Path
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/*/vmlinuz
+Target = usr/lib/modules/*/extramodules/*
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
-Target = usr/lib/kernel/install.*
-Target = etc/kernel/install.*
+Target = boot/*-ucode.img
+Target = usr/lib/initcpio/*
+Target = usr/lib/initcpio/*/*
+Target = usr/lib/dracut/*
+Target = usr/lib/dracut/*/*
+Target = usr/lib/dracut/*/*/*
+Target = usr/lib/kernel/*
+Target = usr/lib/kernel/*/*
Target = usr/src/*/dkms.conf
-[Trigger]
-Type = Package
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = systemd
-Target = amd-ucode
-Target = intel-ucode
-Target = plymouth
-Target = cryptsetup
-Target = dracut
-Target = mkinitcpio
-
[Action]
Description = Removing kernel and initrd from $BOOT... (kernel-install)
When = PostTransaction