]> Git Repo - linux.git/commitdiff
buildtar: fix tarballs with EFI_ZBOOT enabled
authorVeronika Kabatova <[email protected]>
Wed, 14 Dec 2022 13:20:02 +0000 (14:20 +0100)
committerMasahiro Yamada <[email protected]>
Sat, 17 Dec 2022 12:55:04 +0000 (21:55 +0900)
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]>
scripts/package/buildtar

index cb54c7f1aa80680eb06f7125b24580146d09e461..4d6f0b128efd97109349199f1ae7b24d883f9a8b 100755 (executable)
@@ -122,7 +122,7 @@ case "${ARCH}" in
                fi
                ;;
        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
                                cp -v -- "${objtree}/arch/arm64/boot/${i}" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
                                break
This page took 0.059191 seconds and 4 git commands to generate.