Please help debugging a pacman hook
Edit: Solved! See below I am trying to make a pacman hook that runs lilo after kernel updates. It does not run after a kernel update and I do not know how to proceed in debugging it. Could you please help? The contents of the hook are: [Trigger] Type = Package Operation = Install Operation = Upgrade...
A similar config has been very consistent for me. Highly recommended
I reinstalled
linux-zenand that doesn't trigger the hook.Thanks for looking into this!
Thanks for the suggestion!
The man page on pacman hooks contains an example in which globbing is used in the target for a package type trigger, which is the same technique used here and therefore should work. Nevertheless, using a file type trigger with target /boot/vmlinuz-* should definitely work and may be a nice fallback solution.
If /var is mounted on a separate partition then it cannot be unmounted while it is being used for logging. There is a way to unmount it after logging stops, though that will not get rid of the error message. I forgot how to do that and I'm on mobile so I can't look out up, but hopefully this points you towards the right direction.
Inconsolata is very good for if you have high resolution or don't mind large letters