summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
authorKevin Wilms2020-11-08 21:52:20 +0100
committerKevin Wilms2020-11-08 21:52:20 +0100
commit6143bc6a9fefdfbbba6638b2ff59e35809eb1a20 (patch)
tree2221fd9b344a58ab762d6488aac479f099cb588d /90-linux.hook
downloadaur-6143bc6a9fefdfbbba6638b2ff59e35809eb1a20.tar.gz
Linux 4.19.155
Diffstat (limited to '90-linux.hook')
-rw-r--r--90-linux.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/90-linux.hook b/90-linux.hook
new file mode 100644
index 00000000000..099b5b24b88
--- /dev/null
+++ b/90-linux.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/modules/%KERNVER%/vmlinuz
+Target = usr/lib/initcpio/*
+
+[Action]
+Description = Updating %PKGBASE% initcpios...
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -p %PKGBASE%
+