summarylogtreecommitdiffstats
path: root/kernel-install-remove.hook
diff options
context:
space:
mode:
Diffstat (limited to 'kernel-install-remove.hook')
-rw-r--r--kernel-install-remove.hook14
1 files changed, 0 insertions, 14 deletions
diff --git a/kernel-install-remove.hook b/kernel-install-remove.hook
deleted file mode 100644
index 5070283b78f2..000000000000
--- a/kernel-install-remove.hook
+++ /dev/null
@@ -1,14 +0,0 @@
-[Trigger]
-Operation = Upgrade
-Operation = Remove
-Type = File
-Target = usr/lib/modules/*/vmlinuz
-
-[Action]
-Description = Removing kernel and initramfs images from /boot...
-When = PreTransaction
-Exec = /bin/bash -c 'shopt -s extglob && . /usr/lib/initcpio/functions && while read -r f; do kernel-install remove "$(kver "${f}")"; done'
-Depends = bash
-Depends = mkinitcpio
-Depends = systemd
-NeedsTargets