summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
authorJerry2019-10-05 09:40:31 +0800
committerJerry2019-10-05 09:40:31 +0800
commitef9e8ce9523bb004efce45f677341e52b464735c (patch)
treee17284d74be3c524a68ec7cbd4dc0a743fb757d5 /90-linux.hook
parentcc951d0ea22c75ae78fe1169a1972606f3363ff0 (diff)
downloadaur-ef9e8ce9523bb004efce45f677341e52b464735c.tar.gz
4.19.76.r791997.g7a54e45c03bc-2
Diffstat (limited to '90-linux.hook')
-rw-r--r--90-linux.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/90-linux.hook b/90-linux.hook
new file mode 100644
index 000000000000..ec864d3ff6b9
--- /dev/null
+++ b/90-linux.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = boot/Image
+Target = usr/lib/initcpio/*
+
+[Action]
+Description = Updating %PKGBASE% initcpios...
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -p %PKGBASE%