# mkinitcpio preset file for the 'linux-t2' package on archiso # # The filename is the pkgbase, and that is load-bearing. Kernel packages ship # nothing in /boot — they only install usr/lib/modules//vmlinuz — so # mkinitcpio's alpm hook sources /etc/mkinitcpio.d/.preset and copies # THAT package's kernel to whatever ALL_kver names (is_kernelcopy in # /usr/share/libalpm/scripts/mkinitcpio). Named linux.preset, this pointed the # stock kernel at the T2 filenames, so the ISO booted stock Arch while every # boot entry said linux-t2 and T2 Macs got no keyboard or trackpad. # # releng ships its own linux.preset for the stock kernel; leave it alone. PRESETS=('archiso') ALL_kver='/boot/vmlinuz-linux-t2' archiso_config='/etc/mkinitcpio.conf.d/archiso.conf' archiso_image="/boot/initramfs-linux-t2.img"