diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-05-11 14:00:57 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-30 09:52:23 +0100 |
commit | 168f1d46569e796423f6a86cb1917b0d8cd06b8c (patch) | |
tree | 8d38108a93d0a9becd20f2a4dffd59432b2f35ff /.config/yadm/bootstrap | |
parent | ad97641241bbcaaedabab7af1392a2706da0a776 (diff) |
[pacman] add hook for linux-lts-versioned-bin update
to create unversioned lts entries in /boot
Diffstat (limited to '.config/yadm/bootstrap')
-rwxr-xr-x | .config/yadm/bootstrap | 11 |
1 files changed, 11 insertions, 0 deletions
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 |