From 168f1d46569e796423f6a86cb1917b0d8cd06b8c Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 11 May 2023 14:00:57 +0200 Subject: [pacman] add hook for linux-lts-versioned-bin update to create unversioned lts entries in /boot --- .config/pacman/hooks/linux-lts-versioned-bin.hook | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .config/pacman/hooks/linux-lts-versioned-bin.hook (limited to '.config/pacman/hooks/linux-lts-versioned-bin.hook') diff --git a/.config/pacman/hooks/linux-lts-versioned-bin.hook b/.config/pacman/hooks/linux-lts-versioned-bin.hook new file mode 100644 index 0000000..c9fa4fd --- /dev/null +++ b/.config/pacman/hooks/linux-lts-versioned-bin.hook @@ -0,0 +1,11 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = File +Target = usr/lib/modules/*/vmlinuz + +[Action] +Description = Symlinking newest versioned lts kernel... +When = PostTransaction +Exec = /usr/local/bin/linux-lts-versioned-bin-hook -- cgit v1.2.3