diff options
Diffstat (limited to '99-linux.hook')
-rw-r--r-- | 99-linux.hook | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/99-linux.hook b/99-linux.hook new file mode 100644 index 000000000000..b278702fc597 --- /dev/null +++ b/99-linux.hook @@ -0,0 +1,9 @@ +[Trigger] +Type = File +Operation = Remove +Target = boot/vmlinuz-%PKGBASE% + +[Action] +Description = Remove linux-%PKGBASE% initramfs files... +When = PreTransaction +Exec = /usr/bin/rm /boot/initramfs-%PKGBASE%.img /boot/initramfs-%PKGBASE%-fallback.img |