Commit 731c4eac authored by Veronika Kabatova's avatar Veronika Kabatova Committed by Masahiro Yamada

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: default avatarCKI Project <cki-project@redhat.com>
Signed-off-by: default avatarVeronika Kabatova <vkabatov@redhat.com>
Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 19331e84
...@@ -122,7 +122,7 @@ case "${ARCH}" in ...@@ -122,7 +122,7 @@ case "${ARCH}" in
fi fi
;; ;;
arm64) arm64)
for i in Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo ; do for i in Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo vmlinuz.efi ; do
if [ -f "${objtree}/arch/arm64/boot/${i}" ] ; then if [ -f "${objtree}/arch/arm64/boot/${i}" ] ; then
cp -v -- "${objtree}/arch/arm64/boot/${i}" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}" cp -v -- "${objtree}/arch/arm64/boot/${i}" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
break break
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment