by Hitchar » Wed May 03, 2023 9:07 am
After upgrading to linux-rpi 6.3 the initramfs is not generated by mkinitcpio.
$this->bbcode_second_pass_code('', '
~ sudo mkinitcpio -p linux-rpi
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi.preset: 'default'
==> WARNING: No kernel version specified. Skipping image 'default'
')
The option ALL_kver is empty in the package-provided /etc/mkinitcpio.d/linux-rpi.preset. (It wasn't empty in linux-rpi-6.2.12-1)
$this->bbcode_second_pass_code('', '
~ grep ALL_kver /etc/mkinitcpio.d/linux-rpi.preset
ALL_kver=""
')
Setting it to the below solves the issue.
$this->bbcode_second_pass_code('', '
~ grep ALL_kver /etc/mkinitcpio.d/linux-rpi.preset
ALL_kver="6.3.1-1-rpi-ARCH"
')