[PATCH] buildtar: Copy bzImage for s390

From: Major Hayden
Date: Thu Jul 19 2018 - 11:39:38 EST


Ensure the arch-specific bzImage is present in the tarball
for s390 systems.

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..58937caab488 100755
--- a/scripts/package/buildtar
+++ b/scripts/package/buildtar
@@ -84,6 +84,9 @@ case "${ARCH}" in
[ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}"
[ -f "${objtree}/lifimage" ] && cp -v -- "${objtree}/lifimage" "${tmpdir}/boot/lifimage-${KERNELRELEASE}"
;;
+ s390)
+ [ -f "${objtree}/arch/s390/boot/bzImage" ] && cp -v -- "${objtree}/arch/s390/boot/bzImage" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
+ ;;
vax)
[ -f "${objtree}/vmlinux.SYS" ] && cp -v -- "${objtree}/vmlinux.SYS" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}.SYS"
[ -f "${objtree}/vmlinux.dsk" ] && cp -v -- "${objtree}/vmlinux.dsk" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}.dsk"
--
2.17.1