Since February 2024 archlinux deprecated the usage of addending ucode initrd into bootloader configuration files such as
initrd /amd-ucode.img
initrd /intel-ucode.img
since those are included in the initramfs when mkinitcpio is run.
This PR scans /etc/mkinitcpio.conf (the same file that was used to generate the initramfs) and checks for microcode hook:
if said hook is present entries in the systemd-boot configuration are not added.
This ensures end-user deployments are not using deprecated boot method.
Since February 2024 archlinux deprecated the usage of addending ucode initrd into bootloader configuration files such as
since those are included in the initramfs when mkinitcpio is run.
This PR scans /etc/mkinitcpio.conf (the same file that was used to generate the initramfs) and checks for microcode hook: if said hook is present entries in the systemd-boot configuration are not added.
This ensures end-user deployments are not using deprecated boot method.