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/yadm/bootstrap | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.config/yadm') diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 6ca05e9..06e079f 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -45,3 +45,14 @@ if command -v fcitx5 > /dev/null 2>&1; then sudo ln -s "$HOME/.config/fcitx5/systemd/fcitx5-user.timer" /etc/systemd/user/ systemctl --user enable 'fcitx5-user.timer' --now fi + + +# # +# pacman +# # + +# linux-lts-versioned-bin +if [ ! -f "/usr/share/libalpm/hooks/linux-lts-versioned-bin.hook" ]; then + sudo ln -s "$HOME/.config/pacman/hooks/linux-lts-versioned-bin.hook" /usr/share/libalpm/hooks/linux-lts-versioned-bin.hook + sudo ln -s "$HOME/.config/pacman/bin/linux-lts-versioned-bin-hook" /usr/local/bin/linux-lts-versioned-bin-hook +fi -- cgit v1.2.3