Upstream changed by default to systemd based hooks.
Here is the table comparison.
You can leave it as is, i doubt the old hooks will be deprecated in some more years to come. But if you change to systemd your init will be a bit smaller and the system will boot 1-3 seconds faster.
Note that if you use encryption you will also need an edit in the kernel line because of the difference in the syntax, otherwise the system will not boot after the change!
You need to read a bit about mkinit and pacnews. You never blindly delete or copy .pacnew over, you inspect, analyse, compare and merge.
Until then leave it be. Your system uses the current file, not the pacnew.
Here is some reading
And a topic where a user learned to deal with his pacnews and asked for many of the common files
A .pacnew file, regardless of what part of the system it comes with, is the newest default version of the configuration file as it comes from upstream. It has the .pacnew filename suffix because an update will never overwrite your existing configuration files.
So the idea is that you look at the .pacnew file and compare it to the existing file, and — if necessary — merge the settings from the new file into your existing configuration file.
was really helpful for me! The comparison you mentioned, I did in my initial post. I’m thinking to use the Hooks from @Ben
Do you agree?
@andreas85: Just found your pacnew-tutorial. Could you perhaps add a section mkinitcpio.conf.pacnew? As discussed f.e. here there are lots of chances to create trouble.strong text
Not entirely. The keymap hook is redundant when using sd-vconsole.
Also, the basehook is essentially pointless now. With the systemd hook, the only thing base still offers is an emergency busybox shell, but — crucially — that emergency shell is locked by systemd for security reasons, and requires a special boot parameter to unlock.
If you use btrfs for the filesystem that /boot is on, then you should use “COMPRESSION=cat”, and therefore no compression options should be set, because there is no compression with cat. — it is short for “concatenate”, just as in the event of the shell command.
Noticed I had sd-vconsole as well and also have no fsck in mine.Removed sd-vconsole and left fsck out as I am pretty sure was not needed when using xfs.
sd-vconsole replaces both keymap and consolefont, and is the recommended hook if you use the systemd hook instead of base and udev.
fsck is still needed with xfs. It is however not recommended with btrfs, given that btrfs uses a very different filesystem integrity check all of its own, and it uses that every time the filesystem is mounted.