summaryrefslogtreecommitdiff
path: root/.config/pacman/hooks/linux-lts-versioned-bin.hook
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-05-11 14:00:57 +0200
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commit168f1d46569e796423f6a86cb1917b0d8cd06b8c (patch)
tree8d38108a93d0a9becd20f2a4dffd59432b2f35ff /.config/pacman/hooks/linux-lts-versioned-bin.hook
parentad97641241bbcaaedabab7af1392a2706da0a776 (diff)
[pacman] add hook for linux-lts-versioned-bin update
to create unversioned lts entries in /boot
Diffstat (limited to '.config/pacman/hooks/linux-lts-versioned-bin.hook')
-rw-r--r--.config/pacman/hooks/linux-lts-versioned-bin.hook11
1 files changed, 11 insertions, 0 deletions
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