diff options
Diffstat (limited to '.root/etc/pacman.d/hooks/uki.hook')
-rw-r--r-- | .root/etc/pacman.d/hooks/uki.hook | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.root/etc/pacman.d/hooks/uki.hook b/.root/etc/pacman.d/hooks/uki.hook new file mode 100644 index 0000000..3ca2bf8 --- /dev/null +++ b/.root/etc/pacman.d/hooks/uki.hook @@ -0,0 +1,16 @@ +[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' + |