CONFIG_EFI_ZBOOT causing missing vmlinuz from tarball builds

Veronika Kabatova vkabatov at redhat.com
Tue Dec 13 08:55:20 PST 2022


Hello!

We (CKI Project) have recently tried a kernel build with the
CONFIG_EFI_ZBOOT option enabled, and got surprised by
our kernel install and boot scripts getting unhappy. After some
debugging it seems like the reason is the combination of the
option with the tarball build target.


When the option is enabled, Image.gz doesn't get generated
and vmlinuz.efi binary is created instead. This binary name is
not in the list of binaries that get packaged into the tarball:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/package/buildtar#n125

My noob solution would be to add vmlinuz.efi into the list of
acceptable files in the line above, but I'm not familiar with
the functionality this new binary offers and whether that is
an acceptable solution. I can send a patch if it is, but if there
is more nuance to the fix could someone please take a look?


Thank you,
Veronika




More information about the linux-arm-kernel mailing list