summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
authorJames Bunton2019-01-29 08:12:08 +1100
committerJames Bunton2019-01-29 10:07:10 +1100
commita6a19d499db25663397257b66ce592cd17753f31 (patch)
tree92743d0eb1dc22c33e164b5768d2bc06078f2250 /90-linux.hook
parent887ccd37169ca9f99dbfdd2f7c5edf94dbb93582 (diff)
downloadaur-a6a19d499db25663397257b66ce592cd17753f31.tar.gz
Sync changes from upstream linux-lts
This contains many misc improvements to the PKGBUILD. In particular there are new pacman hooks which will make DKMS work properly again.
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..be0d886539f4
--- /dev/null
+++ b/90-linux.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = boot/vmlinuz-%PKGBASE%
+Target = usr/lib/initcpio/*
+
+[Action]
+Description = Updating %PKGBASE% initcpios...
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -p %PKGBASE%