# Copy kernel and initramfs to EFI directory [Trigger] Operation = Install Operation = Upgrade Type = File Target = usr/lib/modules/*/vmlinuz Target = usr/lib/initcpio/* Target = boot/*-ucode.img [Action] Description = Copying kernel and initramfs to EFI directory When = PostTransaction Exec = /bin/sh -c 'cp /boot/*img /boot/vm* /efi/arch/'