You are not logged in.
Pages: 1
Hi!
I just created a pacman-hook to trigger a systemd-boot update every time systemd gets updated.
This is useful (at least for me) because systemd-boot needs to be manually updated, and i keep forgetting it, see here: https://wiki.archlinux.org/index.php/Sy … t#Updating.
As of now, it needs esp partition to be in its default location (ie: /boot).
If you're using a different esp mount point, please change the "Exec" line in "/etc/pacman.d/systemd-boot.hook" from
Exec = /usr/bin/bootctl update
to
Exec = /usr/bin/bootctl --path=$YOUR_ESP_PARTITION update
Hope someone will find this useful! It is on AUR: https://aur.archlinux.org/packages/syst … acman-hook .
Bye!
Offline
I've been running a similar hook for quite a while now. A couple of notes:
This shouldn't be running on systemd install
Packages should install hooks to /usr, not to /etc.
Offline
You're right, thanks!
Fixed and fixed
Offline
Pages: 1