mkinitcpio 0.12.0 introduces some changes; notably the block hook.
When I regenerated my initrd after having replaced sata with block, it threw a new error:
-> Running build hook: [consolefont] ==> WARNING: consolefont: no font found in configuration
I set the consolefont in /etc/vconsole.conf, like so:
This has worked since moving to systemd, is there something else that is required with the new mkinitcpio hooks, or has this change exposed some shortcoming in my setup?
"Replace any and all of the deprecated hooks"
And more generally, 'mkinitcpio -L' will show you what hooks are deprecated:
$ mkinitcpio -L ==> Available hooks autodetect consolefont keymap mmc¹ sata¹ strip usb¹ base filesystems mdadm modconf scsi¹ timestamp usr block fsck mdadm_udev pata¹ shutdown udev virtio¹ btrfs fw¹ memdisk resume sleep usbinput ¹ This hook is deprecated in favor of 'block'
that pacman message really is not helpful at all
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
As you're here, falconindy, don't forget to close this - same issue, I posted it this morning.
And yeah, I agree with sl1pkn07 and Rasi - the post-install message assumes we know what hooks have been deprecated, couldn't it just tell us?
if [ "$(vercmp 0.12.0 "$2")" -eq 1 ]; then printf '==> The "block" hook has replaced several hooks:\n' printf ' fw, sata, pata, scsi, virtio, mmc, usb\n' printf ' Replace any and all of these in /etc/mkinitcpio.conf with a single\n' printf ' instance of the "block" hook\n' fi