dotfiles-arch/.root/etc/pacman.d/hooks/uki.hook

17 lines
343 B
Text
Raw Normal View History

2024-05-15 13:53:10 +00:00
[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
Target=amd-ucode
Target=linux
Target=linux-lts
[Action]
Description=Update Kernel and Microcode in initramfs
Depends=mkinitcpio
When=PostTransaction
NeedsTargets
Exec=/bin/sh -c 'while read -r trg; do case $trg in linux) exit 0; esac; done; /usr/bin/mkinitcpio -P'