summaryrefslogtreecommitdiff
path: root/libre/linux-libre-pck/99-linux.hook
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-11-19 17:03:47 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-11-19 17:03:47 -0300
commitfed2f35b30e6af461bd5c738fefcabb83fc60a2b (patch)
treea83226e9e832f1e7302335224a741d25a74b3700 /libre/linux-libre-pck/99-linux.hook
parentcca3ade68a74f2fed49ba1028268705fba755443 (diff)
linux-libre-pck-4.8.8_gnu.pck1-2: updating revision
* fix lvm2 breakage, move to mkinitcpio running as pacman hook - FS#51818 -> https://bugs.archlinux.org/task/51818 * overhaul sed'ding
Diffstat (limited to 'libre/linux-libre-pck/99-linux.hook')
-rw-r--r--libre/linux-libre-pck/99-linux.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/linux-libre-pck/99-linux.hook b/libre/linux-libre-pck/99-linux.hook
new file mode 100644
index 000000000..985115199
--- /dev/null
+++ b/libre/linux-libre-pck/99-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%