summarylogtreecommitdiffstats
path: root/build-patched-kernel.hook
diff options
context:
space:
mode:
authorDaniel Kirchner2020-02-16 00:49:43 +0100
committerDaniel Kirchner2020-02-16 00:49:43 +0100
commiteaced730fda1d8c79457cfa2d4bf8af9f3af94ae (patch)
tree855c86f52da44665206ab701cfb9e3a06fc7d8a9 /build-patched-kernel.hook
downloadaur-patch-kernel-pacman-hook.tar.gz
Initial commit
Diffstat (limited to 'build-patched-kernel.hook')
-rw-r--r--build-patched-kernel.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/build-patched-kernel.hook b/build-patched-kernel.hook
new file mode 100644
index 000000000000..b09bead70bfe
--- /dev/null
+++ b/build-patched-kernel.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = linux
+[Action]
+Description = Patch linux kernel
+When = PreTransaction
+Exec = /usr/share/libalpm/scripts/build-patched-kernel
+AbortOnFail