summarylogtreecommitdiffstats
path: root/55-unifed-arch-kernel-remove.hook
diff options
context:
space:
mode:
Diffstat (limited to '55-unifed-arch-kernel-remove.hook')
-rw-r--r--55-unifed-arch-kernel-remove.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/55-unifed-arch-kernel-remove.hook b/55-unifed-arch-kernel-remove.hook
new file mode 100644
index 000000000000..1f77af6acdd7
--- /dev/null
+++ b/55-unifed-arch-kernel-remove.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Remove
+Target = usr/lib/modules/*/vmlinuz
+
+[Action]
+Description = Removing unifed ArchLinux EFI image...
+Depends = unifed-arch-kernel
+When = PreTransaction
+Exec = /usr/share/libalpm/scripts/uak-script remove
+NeedsTargets
+