jstm-optimized/99-linux.hook

9 lines
258 B
Text

[Trigger]
Type = File
Operation = Remove
Target = usr/lib/modules/%KERNVER%/vmlinuz
[Action]
Description = Remove %PKGBASE% initramfs files...
When = PreTransaction
Exec = /usr/bin/rm -f /boot/initramfs-%PKGBASE%.img /boot/initramfs-%PKGBASE%-fallback.img