summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-xtreme/90-linux.hook
diff options
context:
space:
mode:
authorDavid P <megver83@openmailbox.org>2017-10-27 16:59:24 -0300
committerDavid P <megver83@openmailbox.org>2017-10-27 16:59:24 -0300
commit3e2e1bf916091727404aa43a937b8e165185c622 (patch)
treeccf346e4a20a955595c8d24f079d552188b1fe0d /kernels/linux-libre-xtreme/90-linux.hook
parent22cfecb777cd5227076781be38a48ef974973821 (diff)
downloadabslibre-3e2e1bf916091727404aa43a937b8e165185c622.tar.gz
abslibre-3e2e1bf916091727404aa43a937b8e165185c622.tar.bz2
abslibre-3e2e1bf916091727404aa43a937b8e165185c622.zip
Add kernels/linux-libre-xtreme
Ref: https://labs.parabola.nu/issues/1506#note-3
Diffstat (limited to 'kernels/linux-libre-xtreme/90-linux.hook')
-rw-r--r--kernels/linux-libre-xtreme/90-linux.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernels/linux-libre-xtreme/90-linux.hook b/kernels/linux-libre-xtreme/90-linux.hook
new file mode 100644
index 000000000..985115199
--- /dev/null
+++ b/kernels/linux-libre-xtreme/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%