Skip to content

Commit 731c4ea

Browse files
veruumasahir0y
authored andcommitted
buildtar: fix tarballs with EFI_ZBOOT enabled
When CONFIG_EFI_ZBOOT is enabled, the binary name is not Image.gz anymore but vmlinuz.efi. No vmlinuz gets put into the tarball as the buildtar script doesn't recognize this name. Remedy this by adding the binary name to the list of acceptable files to package. Reported-by: CKI Project <cki-project@redhat.com> Signed-off-by: Veronika Kabatova <vkabatov@redhat.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 19331e8 commit 731c4ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/package/buildtar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ case "${ARCH}" in
122122
fi
123123
;;
124124
arm64)
125-
for i in Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo ; do
125+
for i in Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo vmlinuz.efi ; do
126126
if [ -f "${objtree}/arch/arm64/boot/${i}" ] ; then
127127
cp -v -- "${objtree}/arch/arm64/boot/${i}" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
128128
break

0 commit comments

Comments
 (0)