From 376a549acaa0bb2856297ab46f2d7a6304dcbbc4 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 9 Apr 2024 18:18:55 -0400 Subject: a --- .root/etc/pacman.d/hooks/uki.hook | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .root/etc/pacman.d/hooks/uki.hook (limited to '.root/etc/pacman.d/hooks/uki.hook') 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' + -- cgit v1.2.3-freya