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 <[email protected]> Signed-off-by: Veronika Kabatova <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 19331e8 commit 731c4ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)