Just updated my Pi2 and mkinitcpio is not building the initramfs image:
$this->bbcode_second_pass_code('', '
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Updating linux-rpi initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi.preset: 'default'
==> WARNING: No kernel version specified. Skipping image 'default'')
I also noticed /etc/mkinitcpio.d/linux-rpi.preset is different to what's in Github, this line:
$this->bbcode_second_pass_code('', 'ALL_kver=""')
The repo has:
$this->bbcode_second_pass_code('', 'ALL_kver="%KERNVER%"')
But changing that line doesn't make it build. Specifying the new kernel version doesn't work either:
$this->bbcode_second_pass_code('', '# mkinitcpio -P -k 6.1.27-1-rpi-ARCH
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi.preset: 'default'
==> WARNING: No kernel version specified. Skipping image 'default'')
Cheers.