abarbarian Posted April 16 Share Posted April 16 I posted this at the Arch Forums today. It is self explanatory. Quote 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 linux Put 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 time I posted at the forums just a short while ago I had a very nice and helpful reply. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted April 16 Share Posted April 16 The problem with taking notes on archlinux is that things change so fast that the notes are quickly outdated Quote Link to comment Share on other sites More sharing options...
abarbarian Posted April 16 Author Share Posted April 16 1 hour ago, securitybreach said: The problem with taking notes on archlinux is that things change so fast that the notes are quickly outdated Sort of true. Quite a lot of things stay pretty much the same but a lot of stuff changes out of all recognition too. I am still looking for an answer to my query though. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted April 16 Share Posted April 16 From last month: With the release of mkinitcpio v38, several hooks previously provided by Arch packages have been moved to the mkinitcpio upstream project. The hooks are: systemd, udev, encrypt, sd-encrypt, lvm2 and mdadm_udev. https://archlinux.org/news/mkinitcpio-hook-migration-and-early-microcode/ Quote Link to comment Share on other sites More sharing options...
abarbarian Posted April 17 Author Share Posted April 17 20 hours ago, securitybreach said: From last month: https://archlinux.org/news/mkinitcpio-hook-migration-and-early-microcode/ Thanks. I had caught on about the microcode stuff but missed the other hook stuff. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.