Skip to content

Commit 8c5fb5f

Browse files
committed
buildtar: fix tarballs with EFI_ZBOOT enabled
jira LE-2157 Rebuild_History Non-Buildable kernel-5.14.0-503.14.1.el9_5 commit-author Veronika Kabatova <vkabatov@redhat.com> commit 731c4ea 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> (cherry picked from commit 731c4ea) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
1 parent ed56d01 commit 8c5fb5f

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
@@ -118,7 +118,7 @@ case "${ARCH}" in
118118
fi
119119
;;
120120
arm64)
121-
for i in Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo ; do
121+
for i in Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo vmlinuz.efi ; do
122122
if [ -f "${objtree}/arch/arm64/boot/${i}" ] ; then
123123
cp -v -- "${objtree}/arch/arm64/boot/${i}" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
124124
break

0 commit comments

Comments
 (0)