Fedora has started shipping vmlinuz-virt.efi in the kernel modules
directory so we have to make sure we strip that from the initrd as
well.
# Including kernel images in the initrd is generally not useful.
# This also stops mkosi from extracting the kernel image out of the image as a separate output.
- /usr/lib/modules/*/vmlinuz
+ /usr/lib/modules/*/vmlinuz*
/usr/lib/modules/*/System.map
# Configure locale explicitly so that all other locale data is stripped on distros whose package manager supports it.