blob: d0e2febf603f1176359dc333586e09892754b8ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
[Trigger]
Operation = Upgrade
Operation = Remove
Type = File
Target = boot/vmlinuz-linux*
[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
|