summarylogtreecommitdiffstats
path: root/99-linux-macbook.hook
diff options
context:
space:
mode:
authorTony Lambiris2016-12-17 17:55:00 -0500
committerTony Lambiris2016-12-17 18:00:00 -0500
commitd48165352e95535b798852f9afced7371549ee23 (patch)
treed2a7b2f7101503424d9eeac79b75072eccb33b06 /99-linux-macbook.hook
parent854f450e06d8bf89aa58596ffaf1f621f3f7b679 (diff)
downloadaur-d48165352e95535b798852f9afced7371549ee23.tar.gz
Sync with core/linux, add service file
Diffstat (limited to '99-linux-macbook.hook')
-rw-r--r--99-linux-macbook.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/99-linux-macbook.hook b/99-linux-macbook.hook
new file mode 100644
index 000000000000..9851151995bc
--- /dev/null
+++ b/99-linux-macbook.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%