blob: 0456e987d2f0600b9ef857ff6370d2cc929b3ad8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Trigger]
Operation = Install
Operation = Upgrade
Type = File
Target = usr/lib/modules/*/vmlinuz
[Action]
Description = Installing kernel and initrd to $BOOT (kernel-install)
When = PostTransaction
Exec = /bin/bash -c 'shopt -s extglob && . /usr/lib/initcpio/functions && while read -r vmlinuz; do kver="$(kver "${vmlinuz}")" && msg "Installing ${kver}" && kernel-install add "${kver}" "${vmlinuz}"; done'
Depends = bash
Depends = systemd
NeedsTargets
|