summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
authorKevin Wilms2020-11-09 17:07:25 +0100
committerKevin Wilms2020-11-09 17:07:25 +0100
commit8c751f4e8631af15ab91009c44bee636583d3d1d (patch)
treed2f4aa8cb4cd4246c0c2235bb02780cfbaf6880b /90-linux.hook
downloadaur-8c751f4e8631af15ab91009c44bee636583d3d1d.tar.gz
Linux 4.14.204
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 000000000000..099b5b24b885
--- /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%
+