You are not logged in.
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:
FONT=ter-116n
KEYMAP=/etc/caps2escape.kmap
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?
Offline
Thanks falconindy.
Offline
"Replace any and all of the deprecated hooks"
for example?
greetings
Offline
Offline
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'
Offline
thanks
Offline
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.
Douglas Adams
Offline
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?
Offline
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
Better?
Offline
Yes.
Offline