summarylogtreecommitdiffstats
path: root/99-linux.hook
diff options
context:
space:
mode:
authorsirlucjan2017-11-23 14:10:19 +0100
committersirlucjan2017-11-23 14:10:19 +0100
commitbd6e5f752a538c1783bf75ac5f5a33c5c6905dbf (patch)
treef9730de9325b63766f1df7355e6a8f9498e58215 /99-linux.hook
parent726ccc29c62b3aa18ae165b76fa659667efcbde0 (diff)
downloadaur-bd6e5f752a538c1783bf75ac5f5a33c5c6905dbf.tar.gz
Bump to 4.14.1-1
Diffstat (limited to '99-linux.hook')
-rw-r--r--99-linux.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/99-linux.hook b/99-linux.hook
new file mode 100644
index 000000000000..b278702fc597
--- /dev/null
+++ b/99-linux.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Type = File
+Operation = Remove
+Target = boot/vmlinuz-%PKGBASE%
+
+[Action]
+Description = Remove linux-%PKGBASE% initramfs files...
+When = PreTransaction
+Exec = /usr/bin/rm /boot/initramfs-%PKGBASE%.img /boot/initramfs-%PKGBASE%-fallback.img