summarylogtreecommitdiffstats
path: root/build-patched-kernel.hook
diff options
context:
space:
mode:
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