[PATCH] buildtar: Copy vmlinuz for arm64
From: Major Hayden
Date: Wed Jul 18 2018 - 13:15:18 EST
Copy the architecture-specific compressed kernel image to the
directory used to make the tar package.
Signed-off-by: Major Hayden <major@xxxxxxxxxx>
---
scripts/package/buildtar | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/package/buildtar b/scripts/package/buildtar
index e8cc72a51b32..a87c8cbc1ba3 100755
--- a/scripts/package/buildtar
+++ b/scripts/package/buildtar
@@ -80,6 +80,9 @@ case "${ARCH}" in
alpha)
[ -f "${objtree}/arch/alpha/boot/vmlinux.gz" ] && cp -v -- "${objtree}/arch/alpha/boot/vmlinux.gz" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
;;
+ arm64)
+ [ -f "${objtree}/arch/arm64/boot/Image.gz" ] && cp -v -- "${objtree}/arch/arm64/boot/Image.gz" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
+ ;;
parisc*)
[ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}"
[ -f "${objtree}/lifimage" ] && cp -v -- "${objtree}/lifimage" "${tmpdir}/boot/lifimage-${KERNELRELEASE}"
--
2.17.1