summaryrefslogtreecommitdiff
path: root/libre/linux-libre/90-linux.hook
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-22 17:12:27 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-22 17:14:13 -0300
commit5f1a6517fb256d04455cd987df90b357304c3e03 (patch)
tree12239a053cc0397cc4323ea33aff672b90923333 /libre/linux-libre/90-linux.hook
parentde3a67b8d7646a10ce04de198e9cb1047d559e90 (diff)
downloadabslibre-5f1a6517fb256d04455cd987df90b357304c3e03.tar.gz
abslibre-5f1a6517fb256d04455cd987df90b357304c3e03.tar.bz2
abslibre-5f1a6517fb256d04455cd987df90b357304c3e03.zip
linux-libre-4.10.4_gnu-1: updating version
* decrease hook number - FS#52144 -> https://bugs.archlinux.org/task/52144 * add Linux kernel ABI versioning -> https://lists.parabola.nu/pipermail/dev/2017-March/004804.html
Diffstat (limited to 'libre/linux-libre/90-linux.hook')
-rw-r--r--libre/linux-libre/90-linux.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/linux-libre/90-linux.hook b/libre/linux-libre/90-linux.hook
new file mode 100644
index 000000000..985115199
--- /dev/null
+++ b/libre/linux-libre/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%