summarylogtreecommitdiffstats
path: root/99-linux.hook
diff options
context:
space:
mode:
authorsirlucjan2017-11-26 12:32:47 +0100
committersirlucjan2017-11-26 12:32:47 +0100
commite3731dc993319a0386a3f767f11dcb072a5810fb (patch)
tree6d7194af2fd8ea18d0992fe0967d3fe80a0a760c /99-linux.hook
parentc450e01538cd543269c71bbec8f4f3431e4699c0 (diff)
downloadaur-e3731dc993319a0386a3f767f11dcb072a5810fb.tar.gz
Bump to 4.14-series
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..036f6bf2534a
--- /dev/null
+++ b/99-linux.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Type = File
+Operation = Remove
+Target = boot/vmlinuz-%PKGBASE%
+
+[Action]
+Description = Remove %PKGBASE% initramfs files...
+When = PreTransaction
+Exec = /usr/bin/rm -f /boot/initramfs-%PKGBASE%.img /boot/initramfs-%PKGBASE%-fallback.img