From cc6a9cc422621d0c7bd53600c6ddc217bb404061 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 9 Apr 2024 18:22:44 -0400 Subject: a again --- .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') 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