You are not logged in.
I am doing a fresh install of Arch. Going through all my notes in zim at the same time to tidy them up. I have an entry for a packman hook which I got from the wiki way back and have been using it ever since.
https://bbs.archlinux.org/viewtopic.php?id=215411
On checking the wiki there is no longer any mention of this hook, not in PACMAN or SYSTEMD.
This I believe is the wiki entry I followed,
Systemd version printed on boot is not the same as installed package version
You need to regenerate your initramfs and the versions should match.
Tip: A pacman hook can be used to automatically regenerate the initramfs every time systemd is upgraded. See this forum thread and Pacman#Hooks.This might be a good pacman hook so that you don't have to manually remember this everytime systemd is updated:
[Trigger]
Operation = Upgrade
Type = Package
Target = systemd[Action]
Description = Generating initramfs...
Depends = linux
When = PostTransaction
Exec = /usr/bin/mkinitcpio -p linuxPut it in a new file in /etc/pacman.d/hooks make sure filename has .hook suffix.
Is this still necessary ?
If it is why has it gone from the wiki ?
Thanks in advance for any help on this. ;-)
Last edited by abarbarian (2024-04-17 10:18:39)
Offline
The normal systemd/mkinitcpio package already does this now, IIRC (not on my system to formally verify but I'm fairly sure).
Last edited by V1del (2024-04-16 11:36:09)
Offline
The normal systemd/mkinitcpio package already does this now, IIRC (not on my system to formally verify but I'm fairly sure).
You are correct,
https://archlinux.org/news/mkinitcpio-h … microcode/
Many thanks for the reply. ;-)
Offline